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-16 23:02:44 +0100 |
| commit | 1b970e222e35697db473c2fa912a2b141fe61593 (patch) | |
| tree | 581e712d4b1de0c0ed58363974c0d1f43465f16b /scripts/oe-git-proxy | |
| parent | f107c9f8152de851ac705de2d5e99fca2ed66781 (diff) | |
| download | poky-1b970e222e35697db473c2fa912a2b141fe61593.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.
(From OE-Core rev: 477ee7e673684db988c66a75b6400e33509730b4)
Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/oe-git-proxy')
| -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 @@ | |||
| 19 | # AUTHORS | 19 | # AUTHORS |
| 20 | # Darren Hart <dvhart@linux.intel.com> | 20 | # Darren Hart <dvhart@linux.intel.com> |
| 21 | 21 | ||
| 22 | # disable pathname expansion, NO_PROXY fields could start with "*" or be it | ||
| 23 | set -f | ||
| 24 | |||
| 22 | if [ $# -lt 2 -o "$1" = '--help' -o "$1" = '-h' ] ; then | 25 | if [ $# -lt 2 -o "$1" = '--help' -o "$1" = '-h' ] ; then |
| 23 | echo 'oe-git-proxy: error: the following arguments are required: host port' | 26 | echo 'oe-git-proxy: error: the following arguments are required: host port' |
| 24 | echo 'Usage: oe-git-proxy host port' | 27 | echo 'Usage: oe-git-proxy host port' |
