From: Yaroslav Halchenko Date: Fri, 14 Dec 2012 15:42:40 +0000 (-0500) Subject: BF: move -u in nd_build down so we get sensible help X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=62789c76a0d530dc3a41fc87da9758fa179044a7;p=neurodebian.git BF: move -u in nd_build down so we get sensible help --- 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'