From: Francois Fleuret Date: Sun, 24 May 2009 09:54:38 +0000 (+0200) Subject: Added 'set -e' so that the script fails if any command fails. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=77463aef0ca72546b60b9f5350012a280ed652a5;p=selector.git Added 'set -e' so that the script fails if any command fails. --- diff --git a/mkdeb.sh b/mkdeb.sh index 44df3dc..d96e7ae 100755 --- a/mkdeb.sh +++ b/mkdeb.sh @@ -25,6 +25,8 @@ # This script creates the Debian package. The way it does it is # probably not very conventional. I am open to suggestions. +set -e + VERSION=1.0-R$(cat REVISION_NUMBER) PACKAGE=/tmp/selector_${VERSION}_i386.deb