Ignore:
Timestamp:
Jun 11, 2020, 11:09:36 AM (4 years ago)
Author:
adurocher
Message:

Fixed compilation script : return non-zero on error, delete lock file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Optimisation_LMDZ/build_gcm

    r3647 r3704  
    4646${dirname}fcm build $*
    4747
    48 err=$?
    49 # Check error message from fcm build
    50 if [ $err != 0 ] ; then
    51   # ERROR IN COMPILING
    52   echo ERROR IN COMPILING LMDZ : $err
    53   exit 1
    54 fi
     48build_command_status=$?
    5549
    5650# cleanup
    5751\rm -f '.lock'
    5852
     53exit $build_command_status
     54
Note: See TracChangeset for help on using the changeset viewer.