aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Adam Duskett <Aduskett@gmail.com>2020-03-27 11:29:54 -0700
committerGravatar Peter Korsgaard <peter@korsgaard.com>2020-04-07 21:02:43 +0200
commitadb823e2e04527496fb63a7b3436d5f9a70a2194 (patch)
tree4d789017af18cf70af01d63baf4121b2af84ec4e
parentd3c031d6f707b953a0af1a18ea10bfb728cd698e (diff)
downloadbuildroot-adb823e2e04527496fb63a7b3436d5f9a70a2194.tar.gz
buildroot-adb823e2e04527496fb63a7b3436d5f9a70a2194.tar.bz2
package/vala: fix wrapper
Add double quotes around the $@ variable to prevent word splitting. Reported-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Adam Duskett <Aduskett@gmail.com> [yann.morin.1998@free.fr: s/globbing/word splitting/] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> (cherry picked from commit 30b6db05cb29b3a79c85f3bcc9c30a18d03c6cfa) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/vala/vala-wrapper2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/vala/vala-wrapper b/package/vala/vala-wrapper
index ae2f7ca671..84fc905b9f 100644
--- a/package/vala/vala-wrapper
+++ b/package/vala/vala-wrapper
@@ -1,2 +1,2 @@
#!/bin/sh
-$0-@VALA_VERSION@ --vapidir=${STAGING_DIR}/usr/share/vala/vapi --girdir=${STAGING_DIR}/usr/share/gir-1.0 $@
+$0-@VALA_VERSION@ --vapidir=${STAGING_DIR}/usr/share/vala/vapi --girdir=${STAGING_DIR}/usr/share/gir-1.0 "$@"