3 echo _____________________________________________
6 length=`echo $HOME |wc -c`
7 if (( $length >= 100 )) ;
9 echo "WARNING: The home directory $HOME is longer than 100 char"
11 NEWHOME="/tmp/alien_home_dir.${ALIEN_PROC_ID}"
12 echo "CHANGING HOME TO $NEWHOME"
13 ln -s "$HOME" "$NEWHOME"
16 echo _____________________________________________
18 export PRODUCTION_METADATA="$ALIEN_JDL_LPMMETADATA"
20 if test -f simrun.sh ; then
24 elif test -f Run.sh ; then
28 elif test -f run.sh ; then
33 echo "Nothing to run in this directory!"
36 if test $ret -ne 0 ; then
37 echo "Job failed with exit status $ret"