diff options
author | Henning Schild <henning.schild@siemens.com> | 2019-09-03 15:43:48 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-09-15 17:49:47 +0100 |
commit | 477ee7e673684db988c66a75b6400e33509730b4 (patch) | |
tree | 8491f57edbe586750bcedff226841ff4b941f400 /scripts | |
parent | 0fdc12dac6244be135ea519fe9c39109e7cfc6d6 (diff) | |
download | openembedded-core-contrib-477ee7e673684db988c66a75b6400e33509730b4.tar.gz |
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 <henning.schild@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/oe-git-proxy | 3 |
1 files changed, 3 insertions, 0 deletions
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 <dvhart@linux.intel.com> +# 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' |