From: Kaj-Michael Lang Date: Thu, 10 Jan 2008 17:08:35 +0000 (+0200) Subject: Small fix, exit on error X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e39f18e97d0a231ce6952b1e3173d8e5bf4de065;p=mapper Small fix, exit on error --- diff --git a/dpkg-build.sh b/dpkg-build.sh index 2c0a65f..dc9f76b 100755 --- a/dpkg-build.sh +++ b/dpkg-build.sh @@ -15,12 +15,12 @@ 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