summaryrefslogtreecommitdiff
path: root/bin/build-rpm-package
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2015-04-01 23:48:51 +0200
committerMihai Moldovan <ionic@ionic.de>2015-04-01 23:48:51 +0200
commitcbe1ab1106cc56af4f2cc7e7100f030396c26ec8 (patch)
tree2b0a6fe032692311bba98bebba7b586daf3c0897 /bin/build-rpm-package
parentcc20e6d4dda2d8d7812b55de4241509d18f6cf50 (diff)
downloadbuildscripts-cbe1ab1106cc56af4f2cc7e7100f030396c26ec8.tar.gz
buildscripts-cbe1ab1106cc56af4f2cc7e7100f030396c26ec8.tar.bz2
buildscripts-cbe1ab1106cc56af4f2cc7e7100f030396c26ec8.zip
bin/build-{deb,nsis,rpm}-package: quote $@ variable to pass all arguments correctly to set_vars.
Diffstat (limited to 'bin/build-rpm-package')
-rwxr-xr-xbin/build-rpm-package2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index ff26914..947f108 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -879,7 +879,7 @@ delay_build() {
### MAIN ###
-set_vars $@ && {
+set_vars "$@" && {
if [ "x$(basename $0)" = "x$PREFIX-build-rpm-package" ] || [ "x$(basename $0)" = "x$PREFIX-build+upload-rpm-package" ]; then
# Treat any value other than "no" and "0" as true.
cd $PROJECT_DIR && pkgneedsbuild $CHECKOUT || ( [ "x$FORCE_BUILD" != "xno" ] && [ "x$FORCE_BUILD" != "x0" ] ) && {