source: trunk/puq/puq.sh.in @ 6191

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
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.