From 477ee7e673684db988c66a75b6400e33509730b4 Mon Sep 17 00:00:00 2001 From: Henning Schild Date: Tue, 3 Sep 2019 15:43:48 +0200 Subject: oe-git-proxy: disable shell pathname expansion for the whole script This truly fixes the issue that cbc148d5d93d5f3531434fee7b234a16196b3088 wanted to solve, without breaking the iteration over multiple entries. Signed-off-by: Henning Schild Signed-off-by: Ross Burton --- scripts/oe-git-proxy | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts') diff --git a/scripts/oe-git-proxy b/scripts/oe-git-proxy index 10e6560da4..9eeef45dcf 100755 --- a/scripts/oe-git-proxy +++ b/scripts/oe-git-proxy @@ -19,6 +19,9 @@ # AUTHORS # Darren Hart +# disable pathname expansion, NO_PROXY fields could start with "*" or be it +set -f + if [ $# -lt 2 -o "$1" = '--help' -o "$1" = '-h' ] ; then echo 'oe-git-proxy: error: the following arguments are required: host port' echo 'Usage: oe-git-proxy host port' -- cgit 1.2.3-korg