提交 a5d696d5 authored 作者: Travis Cross's avatar Travis Cross

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.
上级 2365f41f
......@@ -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
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论