source: branches/1.5/puq/puq.in @ 6036

Last change on this file since 6036 was 5988, checked in by gah, 8 years ago

add -appname switch for testing

File size: 510 bytes
Line 
1#!/bin/sh
2
3# Script to run PUQ script
4# USAGE: puq script args...
5
6exec_prefix=@exec_prefix@
7libdir=@libdir@
8apps_dir=/apps/share64/debian7
9# Use puq version retrieved from configure.
10puq_version=@PUQ_VERSION@
11puq_version=2.2.14
12puq_exec_prefix=${libdir}/puq
13
14puq_dir=${apps_dir}/puq/puq-${puq_version}
15. ${puq_dir}/puq.env
16
17# Note: Both "python_version" variable and PATH variable are set by puq.env
18# script.
19python=python${python_version}
20
21script=$1
22shift
23exec ${python} ${puq_exec_prefix}/${script}.py $*
24
Note: See TracBrowser for help on using the repository browser.