build-g11n-spec.sh: return error exit code if the build fails
authorjenda
Tue, 18 Jan 2011 21:04:30 +0100
changeset 57 5365e53bc663
parent 56 bdc1cfd1948c
child 58 de913f9e3e2b
build-g11n-spec.sh: return error exit code if the build fails
build-g11n-spec.sh
--- a/build-g11n-spec.sh	Fri Jan 14 15:43:25 2011 +0100
+++ b/build-g11n-spec.sh	Tue Jan 18 21:04:30 2011 +0100
@@ -136,7 +136,7 @@
         $PKGTOOL $PKGUNINSTALLARGS $spec
     fi
     echo "$PKGTOOL $PKGBUILDARGS --define \"ipsvendorver $IPS_VENDORVER\" $spec"
-    $PKGTOOL $PKGBUILDARGS --define "ipsvendorver $IPS_VENDORVER" $spec
+    $PKGTOOL $PKGBUILDARGS --define "ipsvendorver $IPS_VENDORVER" $spec || exit 1
 
     # tentative workaround: should eliminate the previous mv instead,
     # after verifying that directory name does not affect build result