[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeextragear-1/scripts
From:       Michael Buesch <mbuesch () freenet ! de>
Date:       2005-03-16 10:05:22
Message-ID: 20050316100522.0C3FF16F45 () office ! kde ! org
[Download RAW message or body]

CVS commit by mbuesch: 

error out on postprocess failure


  M +6 -0      createPackage.sh   1.7


--- kdeextragear-1/scripts/createPackage.sh  #1.6:1.7
@@ -305,4 +305,10 @@
         print "Running post-processing script..."
         $POSTPROCESSSCRIPT
+        err="$?"
+        if [ $err -ne 0 ]
+        then
+            print "ERROR: Post-processing script failed (return status: $err)"
+            exit 1
+        fi
         print "Post-processing script finished."
     fi


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic