source: branches/1.4/puq/puq.in @ 5981

Last change on this file since 5981 was 5981, checked in by gah, 7 years ago

add simsets, fix puq execution to not use use

File size: 491 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: python_version variable is set by puq.env script.
18python=/usr/bin/python${python_version}
19
20script=$1
21shift
22exec ${python} ${puq_exec_prefix}/${script}.py $*
23
Note: See TracBrowser for help on using the repository browser.