package/vala: fix wrapper
authorAdam Duskett <Aduskett@gmail.com>
Fri, 27 Mar 2020 18:29:54 +0000 (11:29 -0700)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 29 Mar 2020 14:48:33 +0000 (16:48 +0200)
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>
package/vala/vala-wrapper

index ae2f7ca671e23c1b8de7ddb165a7f590a56666a7..84fc905b9fbb48ef3b67fd7086264eeca9f1328f 100644 (file)
@@ -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 "$@"