Changeset 636 for trunk


Ignore:
Timestamp:
05/11/05 10:10:05 (20 years ago)
Author:
mar637
Message:

update serach for aips++ installation, to optioanlly search asap data dir

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/asap

    r560 r636  
    4343fi
    4444
     45
    4546# at the moment we need AIPS++ for measures tables and endian detection
    46 aroot='/nfs/aips++'
    4747if [ "${AIPSPATH}" == "" ]; then
    48 
    49     if test -d ${aroot}/weekly ; then
     48    aroot='/nfs/aips++'
     49    ASAPDATA='/usr/local/share/asap/data'
     50    if test -d ${ASAPDATA} ; then
     51        AIPSPATH="${ASAPDATA} linux_gnu somewhere localhost"   
     52    elif test -d ${aroot}/weekly ; then
    5053        . ${aroot}/weekly/aipsinit.sh
    5154    elif  test -d ${aroot}/daily ; then
     
    5356    elif  test -d /nfs/aips++/pks ; then
    5457        . /nfs/aips++/pks/aipsinit.sh
    55     else 
    56         echo "Cannot locate aips++ installation"
     58    else
     59        echo "Cannot locate casa installation or ASAP data directory"
    5760        exit 0
    5861    fi
Note: See TracChangeset for help on using the changeset viewer.