Permalink
Browse files

MB-6452: Fix path quoting in wrapper script

The generic wrapper script would blow up if the path to the tool
contained a space, as happens in the Mac package.

Change-Id: I184e75c11ef63372e59cae8053cf2b0f72445001
Reviewed-on: http://review.couchbase.org/20252
Reviewed-by: Steve Yen <steve.yen@gmail.com>
Tested-by: Jens Alfke <jens@couchbase.com>
  • Loading branch information...
snej committed Aug 28, 2012
1 parent 7cd129e commit 250c19469969154ee9a644c282c04684d2f93817
Showing with 1 addition and 1 deletion.
  1. +1 −1 wrapper/wrapper.in
View
@@ -9,4 +9,4 @@ else
PYTHONPATH=$root:${PYTHONPATH}
fi
export PYTHONPATH
-exec $root/`basename $0` "$@"
+exec "$root"/`basename "$0"` "$@"

0 comments on commit 250c194

Please sign in to comment.