Changeset 2405 for palm/trunk/SCRIPTS


Ignore:
Timestamp:
Sep 5, 2017 11:17:46 AM (4 years ago)
Author:
raasch
Message:

bugfix for palmrun, some default config files for new scripts added

Location:
palm/trunk/SCRIPTS
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/palmrun

    r2404 r2405  
    132132             eval  ${err_command[$i]}
    133133          done
    134           if [[ $tmpcreate = true ]]
    135           then
    136              [[ $delete_temporary_catalog = true ]]  &&  rm -rf $TEMPDIR
    137           fi
     134          [[ $delete_temporary_catalog = true ]]  &&  (cd; rm -rf $TEMPDIR)
    138135          printf "\n\n+++ palmrun killed \n\n"
    139136       elif [[ $locat != control_c ]]
     
    150147
    151148    # ACTIONS IN CASE OF TERMINAL-BREAK (CONTROL-C):
    152  trap '[[ $tmpcreate = true ]]  &&  (cd; rm -rf $TEMPDIR)
     149 trap 'cd; rm -rf $TEMPDIR
    153150       printf "\n+++ palmrun killed by \"^C\" \n\n"
    154151       locat=control_c
Note: See TracChangeset for help on using the changeset viewer.