powerpc/install: Bail with error code on error in install script
[linux-2.6-block.git] / arch / powerpc / boot / install.sh
index 51b2387bdba0e82dfd8b75de48b56a18cd4fd2ef..98312d169c859926932356cd7018a57ffed23e9f 100644 (file)
@@ -18,6 +18,9 @@
 #   $5 and more - kernel boot files; zImage*, uImage, cuImage.*, etc.
 #
 
+# Bail with error code if anything goes wrong
+set -e
+
 # User may have a custom install script
 
 if [ -x ~/bin/${CROSS_COMPILE}installkernel ]; then exec ~/bin/${CROSS_COMPILE}installkernel "$@"; fi