source: branches/1.7/puq/puq.sh.in @ 6226

Last change on this file since 6226 was 6212, checked in by ldelgass, 8 years ago

merge viewer cleanups from trunk

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