From e39f18e97d0a231ce6952b1e3173d8e5bf4de065 Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Thu, 10 Jan 2008 19:08:35 +0200 Subject: [PATCH] Small fix, exit on error --- dpkg-build.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 -- 2.39.5