changeset 31615:6dc8caccef8a

osx: use more paranoid quoting in test
author Augie Fackler <augie@google.com>
date Mon, 20 Mar 2017 17:49:47 -0400
parents 8e516f71577a
children 6359976b43be
files tests/test-mac-packages.t
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-mac-packages.t	Mon Mar 20 17:50:05 2017 -0400
+++ b/tests/test-mac-packages.t	Mon Mar 20 17:49:47 2017 -0400
@@ -2,15 +2,14 @@
 
   $ . "$TESTDIR/helpers-testrepo.sh"
 
-  $ OUTPUTDIR=`pwd`
+  $ OUTPUTDIR="`pwd`"
   $ export OUTPUTDIR
   $ KEEPMPKG=yes
   $ export KEEPMPKG
 
   $ cd "$TESTDIR"/..
-  $ rm -rf dist
-  $ make osx > $OUTPUTDIR/build.log 2>&1
-  $ cd $OUTPUTDIR
+  $ make osx > "$OUTPUTDIR/build.log" 2>&1
+  $ cd "$OUTPUTDIR"
   $ ls -d *.pkg
   Mercurial-*-macosx10.*.pkg (glob)