Ignore:
Timestamp:
Oct 20, 2011, 11:07:40 AM (13 years ago)
Author:
torrento
Message:

version adaptee a grid engin (ana)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BAORadio/AmasNancay/trunk/rawonoffmaker.sh

    r575 r579  
    7979
    8080#Path where the job will do temporary IO
    81 if [ ${ENVIRONMENT} = "INTERACTIVE" ]; then
    82     iojobpath="/sps/baoradio/AmasNancay/JEC"
    83     $MKDIR -p $iojobpath
    84     $ECHO "Usage in INTERACTIVE may be destructive... To be used with great care !!!!"
    85     exit 0;
    86 elif [ ${ENVIRONMENT} = "BATCH" ] ; then
    87     iojobpath=${TMPBATCH}
    88 else
    89     $ECHO "FATAL (${scriptName}): environment is ${ENVIRONMENT} not allowed"
    90     exit 1
     81. ${SCRIPTPATH}/isInteractive.sh
     82isInteractive=$(isInteractive)
     83if [ ${isInteractive} == "1" ]; then
     84  $ECHO "Usage in INTERACTIVE may be destructive... To be used with great care !!!!"
     85   exit 0;
    9186fi
     87
     88. ${SCRIPTPATH}/set_iojobpath.sh
     89iojobpath=$(set_iojobpath)
    9290cd ${iojobpath}
    9391
Note: See TracChangeset for help on using the changeset viewer.