Changeset 512
- Timestamp:
- 02/23/05 16:14:56 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/install.sh
r372 r512 10 10 if [ x"$NARRABRI_ASAP" = xyes ]; 11 11 then 12 ASAPDIR='/DATA/KAPUTAR_2/vor010/ASAP/site-packages/asap' 13 SRCDIR='/DATA/KAPUTAR_2/vor010/ASAP/asap' 12 ASAPDIR='/DATA/KAPUTAR_2/vor010/ASAP/site-packages/asap' 13 SRCDIR='/DATA/KAPUTAR_2/vor010/ASAP/asap' 14 BINDIR='/DATA/KAPUTAR_2/vor010/ASAP/' 14 15 else 15 ASAPDIR='/usr/local/lib/python2.3/site-packages/asap' 16 SRCDIR='/u/mar637/brage/singledish/asap' 16 ASAPDIR='/usr/local/lib/python2.3/site-packages/asap' 17 SRCDIR='/u/mar637/asap' 18 BINDIR='/usr/local/bin' 17 19 fi 18 20 # 19 20 21 # check to allow setup via command line parameters 21 22 if [ x"$1" != x ]; 22 23 then 23 ASAPDIR=$124 echo "ASAP will be installed into "$ASAPDIR24 ASAPDIR=$1 25 echo "ASAP will be installed into "$ASAPDIR 25 26 fi 26 27 27 28 if [ x"$2" != x ]; 28 29 then 29 SRCDIR=$2 30 echo "from "$SRCDIR 30 SRCDIR=$2 31 echo "from "$SRCDIR 32 fi 33 34 if [ x"$3" != x ]; 35 then 36 BINDIR=$3 37 echo "Executables go into $BINDIR" 31 38 fi 32 39 … … 35 42 # where the library modules is 36 43 libdir='lib' 44 bindir='bin' 37 45 # the python files to install 38 46 srcfiles="__init__.py asapmath.py scantable.py asapreader.py asaplot.py asapfitter.py asapplotter.py asaplinefind.py" 47 39 48 # the libraries to install 40 49 libfiles='_asap.so' 50 binfiles='asap' 41 51 42 52 #if [ -d ${SHAREDIR} ] ; then … … 71 81 cp -f ${SRCDIR}/${libdir}/${f} ${ASAPDIR}/ 72 82 done 73 chmod -R g+w ${ASAPDIR} 83 84 for f in ${binfiles} 85 do 86 cp -f ${SRCDIR}/${bindir}/${f} ${BINDIR}/ 87 done 88 89 #chmod -R g+w ${ASAPDIR} 74 90 echo "Successfully installed the asap module into ${ASAPDIR}" 75 76
Note:
See TracChangeset
for help on using the changeset viewer.