From 8bb09e6767274d6700a19525ba6124da4a2c581d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ionu=C8=9B-Alex=20Oprea?= Date: Mon, 7 May 2018 12:57:11 +0200 Subject: [PATCH] iop: build_branch: add set -+x --- iop/scripts/build_branch.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/iop/scripts/build_branch.sh b/iop/scripts/build_branch.sh index 6425cb437..5af43a443 100755 --- a/iop/scripts/build_branch.sh +++ b/iop/scripts/build_branch.sh @@ -6,6 +6,7 @@ function build_branch_usage { echo "usage: $0 build_branch []" echo "example: $0 build_branch devel-new ex400 DEV" echo "example: $0 build_branch_sysupgrade devel-new ex400 DEV 192.168.1.1 -n" + set +x exit 1 } @@ -17,6 +18,7 @@ function branch_exists { } function build_branch { + set -x local branch=$1 local board=$2 local customer=$3 @@ -35,6 +37,7 @@ time { ./iop feeds_update || build_branch_usage ./iop genconfig -c $board $customer || build_branch_usage make -j 8 || build_branch_usage + set +x } }