]> err.no Git - mapper/commitdiff
Small fix, exit on error
authorKaj-Michael Lang <milang@onion.tal.org>
Thu, 10 Jan 2008 17:08:35 +0000 (19:08 +0200)
committerKaj-Michael Lang <milang@onion.tal.org>
Thu, 10 Jan 2008 17:08:35 +0000 (19:08 +0200)
dpkg-build.sh

index 2c0a65f4053cfca5a406fd6baca2b9a550d83315..dc9f76b638885571dc5307793df80b67e692582b 100755 (executable)
 CHANGELOG=`dirname $0`/debian/changelog
 
 case "$1" in
-       OS2008)
+    OS2008)
     CFLAGS="-O2 -pipe -mcpu=arm1136jf-s"
     VERSION_SUFFIX=-OS2008
     DBP_EXTRA=-B
     ;;
-       OS2007)
+    OS2007)
     CFLAGS="-O2 -pipe -mcpu=arm926ej-s"
     VERSION_SUFFIX=-OS2007
     DBP_EXTRA=-B
@@ -30,8 +30,9 @@ case "$1" in
     VERSION_SUFFIX=-OS2006
     DBP_EXTRA=-B
     ;;
-       *)
-       echo "Give one of OS2006, OS2007 or OS2008 as parameter"
+    *)
+    echo "Give one of OS2006, OS2007 or OS2008 as parameter"
+    exit 1
     ;;
 esac