Changeset 3312 for palm/trunk/SCRIPTS/palmrun
- Timestamp:
- Oct 6, 2018 2:15:46 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/palmrun
r3294 r3312 263 263 done 264 264 [[ $delete_temporary_catalog = true ]] && (cd; rm -rf $tempdir) 265 printf "\n\n+++ palmrun killed \n\n" 266 elif [[ $locat != control_c ]] 267 then 265 printf "\n\n+++ palmrun crashed \n\n" 266 exit 1 267 elif [[ $locat != normal ]] 268 then 269 [[ $delete_temporary_catalog = true ]] && (cd; rm -rf $tempdir) 270 printf "\n+++ palmrun killed by \"^C\" \n\n" 271 exit 2 272 else 268 273 printf "\n --> palmrun finished\n\n" 274 exit 0 269 275 fi' exit 270 276 271 277 272 278 # ACTIONS IN CASE OF TERMINAL-BREAK (CONTROL-C): 273 trap 'cd; rm -rf $tempdir 274 printf "\n+++ palmrun killed by \"^C\" \n\n" 275 locat=control_c 276 exit 279 trap 'locat=control_c 280 exit 1 277 281 ' 2 278 282 … … 1861 1865 fi 1862 1866 1863 if [[ $ ?!= 0 ]]1867 if [[ ${PIPESTATUS[0]} != 0 ]] 1864 1868 then 1865 1869 … … 1877 1881 palmbuild -v $use_existing_sources_folder -h $configuration_identifier -d $run_identifier 1878 1882 1879 if [[ $ ?!= 0 ]]1883 if [[ ${PIPESTATUS[0]} != 0 ]] 1880 1884 then 1881 1885 … … 2231 2235 $execute_command < coupling_steering 2232 2236 2233 if [[ $ ?!= 0 ]]2237 if [[ ${PIPESTATUS[0]} != 0 ]] 2234 2238 then 2235 2239 … … 2542 2546 batch_scp $PORTOPT $catalog_option $append_option -b -m $usecycle_option -u $local_username $return_address ${localout[$i]} "${pathout[$i]}" ${configuration_identifier}_${run_identifier}${endout[$i]} ${extout[$i]} 2543 2547 fi 2544 [[ $ ?!= 0 ]] && transfer_failed=true2548 [[ ${PIPESTATUS[0]} != 0 ]] && transfer_failed=true 2545 2549 2546 2550
Note: See TracChangeset
for help on using the changeset viewer.