From 62789c76a0d530dc3a41fc87da9758fa179044a7 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Fri, 14 Dec 2012 10:42:40 -0500 Subject: [PATCH] BF: move -u in nd_build down so we get sensible help --- tools/nd_backport | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/nd_backport b/tools/nd_backport index b71fe5d..b91b54a 100755 --- a/tools/nd_backport +++ b/tools/nd_backport @@ -4,7 +4,6 @@ # set -e -set -u release=$1 dscfile=$2 @@ -27,6 +26,8 @@ EOT exit 1 fi +set -u + upstream_name=${dscfile%%_*} # To overcome bash desire to claim empty array unbound under 'set -u' -- 2.39.2