Last change
on this file since 6191 was
6191,
checked in by ldelgass, 9 years ago
|
merge r6188 from 1.5 branch (rename puq to puq.sh)
|
-
Property svn:executable set to
*
|
File size:
510 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | # Script to run PUQ script |
---|
4 | # USAGE: puq script args... |
---|
5 | |
---|
6 | exec_prefix=@exec_prefix@ |
---|
7 | libdir=@libdir@ |
---|
8 | apps_dir=/apps/share64/debian7 |
---|
9 | # Use puq version retrieved from configure. |
---|
10 | puq_version=@PUQ_VERSION@ |
---|
11 | puq_version=2.2.14 |
---|
12 | puq_exec_prefix=${libdir}/puq |
---|
13 | |
---|
14 | puq_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. |
---|
19 | python=python${python_version} |
---|
20 | |
---|
21 | script=$1 |
---|
22 | shift |
---|
23 | exec ${python} ${puq_exec_prefix}/${script}.py $* |
---|
24 | |
---|
Note: See
TracBrowser
for help on using the repository browser.