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:48 +0200
commit48d0d2c2a73d2147c929e8145d7eaa36553ef67d (patch)
tree9fc76f0c7c6c60e134a79b55e898a7033817aa1b
parentc786e3b5a25c3ea979d17eb71749ec2785fa5403 (diff)
downloadbuildroot-48d0d2c2a73d2147c929e8145d7eaa36553ef67d.tar.gz
buildroot-48d0d2c2a73d2147c929e8145d7eaa36553ef67d.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 "$@"