[Dart-dev] DART/branches Revision: 11386

dart at ucar.edu dart at ucar.edu
Tue Mar 21 16:38:07 MDT 2017


nancy at ucar.edu
2017-03-21 16:38:07 -0600 (Tue, 21 Mar 2017)
35
add an error exit if ncgen fails.




Modified: DART/branches/rma_trunk/models/lorenz_63/work/quickbuild.csh
===================================================================
--- DART/branches/rma_trunk/models/lorenz_63/work/quickbuild.csh	2017-03-21 22:33:23 UTC (rev 11385)
+++ DART/branches/rma_trunk/models/lorenz_63/work/quickbuild.csh	2017-03-21 22:38:07 UTC (rev 11386)
@@ -69,7 +69,7 @@
       echo "---------------------------------------------------"
       echo "constructing $MODEL data file $n named $OUTNAME" 
    
-      ncgen -o $OUTNAME $DATAFILE
+      ncgen -o $OUTNAME $DATAFILE  || exit $n
    endif
 
 end


More information about the Dart-dev mailing list