debian: ensure set -e behavior when run under build-all

build_all call each of these subroutines under a sub-shell, so the set
-e gets wiped out.
This commit is contained in:
Travis Cross 2012-05-28 17:42:51 +00:00
parent 2365f41fdc
commit a5d696d517

3
debian/util.sh vendored
View File

@ -134,6 +134,7 @@ check_repo_clean () {
create_orig () {
{
set -e
local OPTIND OPTARG
local uver="" bundle_deps=false zl=9e
while getopts 'bnv:z:' o "$@"; do
@ -185,6 +186,7 @@ EOF
create_dsc () {
{
set -e
local OPTIND OPTARG modules_list=""
while getopts 'm:' o "$@"; do
case "$o" in
@ -223,6 +225,7 @@ EOF
build_debs () {
{
set -e
local OPTIND OPTARG debug_hook=false hookdir=""
while getopts 'd' o "$@"; do
case "$o" in