mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 00:00:44 +00:00
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:
parent
2365f41fdc
commit
a5d696d517
3
debian/util.sh
vendored
3
debian/util.sh
vendored
@ -134,6 +134,7 @@ check_repo_clean () {
|
|||||||
|
|
||||||
create_orig () {
|
create_orig () {
|
||||||
{
|
{
|
||||||
|
set -e
|
||||||
local OPTIND OPTARG
|
local OPTIND OPTARG
|
||||||
local uver="" bundle_deps=false zl=9e
|
local uver="" bundle_deps=false zl=9e
|
||||||
while getopts 'bnv:z:' o "$@"; do
|
while getopts 'bnv:z:' o "$@"; do
|
||||||
@ -185,6 +186,7 @@ EOF
|
|||||||
|
|
||||||
create_dsc () {
|
create_dsc () {
|
||||||
{
|
{
|
||||||
|
set -e
|
||||||
local OPTIND OPTARG modules_list=""
|
local OPTIND OPTARG modules_list=""
|
||||||
while getopts 'm:' o "$@"; do
|
while getopts 'm:' o "$@"; do
|
||||||
case "$o" in
|
case "$o" in
|
||||||
@ -223,6 +225,7 @@ EOF
|
|||||||
|
|
||||||
build_debs () {
|
build_debs () {
|
||||||
{
|
{
|
||||||
|
set -e
|
||||||
local OPTIND OPTARG debug_hook=false hookdir=""
|
local OPTIND OPTARG debug_hook=false hookdir=""
|
||||||
while getopts 'd' o "$@"; do
|
while getopts 'd' o "$@"; do
|
||||||
case "$o" in
|
case "$o" in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user