[oe-commits] [openembedded-core] 11/58: oe-git-proxy: disable shell pathname expansion for the whole script
git at git.openembedded.org
git at git.openembedded.org
Sun Sep 15 16:59:05 UTC 2019
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 477ee7e673684db988c66a75b6400e33509730b4
Author: Henning Schild <henning.schild at siemens.com>
AuthorDate: Tue Sep 3 15:43:48 2019 +0200
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 at siemens.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
scripts/oe-git-proxy | 3 +++
1 file changed, 3 insertions(+)
diff --git a/scripts/oe-git-proxy b/scripts/oe-git-proxy
index 10e6560..9eeef45 100755
--- a/scripts/oe-git-proxy
+++ b/scripts/oe-git-proxy
@@ -19,6 +19,9 @@
# AUTHORS
# Darren Hart <dvhart at 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'
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list