mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-04 16:10:04 +00:00
oe-git-proxy: disable shell pathname expansion for the whole script
This truly fixes the issue that cbc148d5d9
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>
This commit is contained in:
parent
f107c9f815
commit
1b970e222e
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user