From 21204876ededdaadde4576c400d805f64d1c775f Mon Sep 17 00:00:00 2001
From: Daira Hopwood <daira@jacaranda.org>
Date: Tue, 24 Mar 2015 16:42:27 +0000
Subject: [PATCH] More careful quoting in build-osx-pkg.sh. refs #2393

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
---
 misc/build_helpers/build-osx-pkg.sh | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/misc/build_helpers/build-osx-pkg.sh b/misc/build_helpers/build-osx-pkg.sh
index 452dc4b7..fe89cf69 100755
--- a/misc/build_helpers/build-osx-pkg.sh
+++ b/misc/build_helpers/build-osx-pkg.sh
@@ -12,18 +12,18 @@ find support -name $APPNAME.egg-link -execdir sh -c "echo >> {}; echo /Applicati
 find support -name easy-install.pth -execdir sed -i.bak 's|^.*/src$|../../../../src|' '{}' \;
 
 # create component pkg
-pkgbuild --root $PWD \
+pkgbuild --root "$PWD" \
          --identifier com.leastauthority.tahoe \
-         --version $VERSION \
+         --version "$VERSION" \
          --ownership recommended \
          --install-location /Applications/tahoe.app \
-         --scripts $PWD/misc/build_helpers/osx/scripts \
+         --scripts "$PWD/misc/build_helpers/osx/scripts" \
          tahoe-lafs.pkg
 
 # create product archive
-productbuild --distribution $PWD/misc/build_helpers/osx/Distribution.xml \
+productbuild --distribution "$PWD/misc/build_helpers/osx/Distribution.xml" \
              --package-path . \
-             tahoe-lafs-$VERSION-osx.pkg
+             "tahoe-lafs-$VERSION-osx.pkg"
 
 # remove intermediate pkg
 rm -f tahoe-lafs.pkg
-- 
2.45.2