[Dart-dev] DART/branches Revision: 11317

dart at ucar.edu dart at ucar.edu
Tue Mar 14 15:57:36 MDT 2017


nancy at ucar.edu
2017-03-14 15:57:35 -0600 (Tue, 14 Mar 2017)
71
pull out common lines to simplify
what's in the conditional sections.




Modified: DART/branches/rma_trunk/observations/obs_converters/buildall.csh
===================================================================
--- DART/branches/rma_trunk/observations/obs_converters/buildall.csh	2017-03-14 21:54:39 UTC (rev 11316)
+++ DART/branches/rma_trunk/observations/obs_converters/buildall.csh	2017-03-14 21:57:35 UTC (rev 11317)
@@ -64,11 +64,12 @@
 
    ./quickbuild.csh || set FAILURE = 1
 
+   echo
+   echo
+   echo "=================================================================="
+   echo "=================================================================="
+
    if ( $FAILURE ) then
-      echo
-      echo
-      echo "=================================================================="
-      echo "=================================================================="
       echo "ERROR - unsuccessful build in $dir at "`date`
       echo 
 
@@ -92,25 +93,15 @@
             echo " unexpected error"
          breaksw
       endsw
+   else
+      echo "Successful build of obs converter $dir ended at "`date`
+   endif
 
-      echo "=================================================================="
-      echo "=================================================================="
-      echo
-      echo
+   echo "=================================================================="
+   echo "=================================================================="
+   echo
+   echo
   
-   else
-         
-      echo 
-      echo 
-      echo "=================================================================="
-      echo "=================================================================="
-      echo "Build of obs converter $dir ended at "`date`
-      echo "=================================================================="
-      echo "=================================================================="
-      echo 
-      echo 
-   
-   endif
 end
 
 exit 0


More information about the Dart-dev mailing list