Skip to content
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: I0030d5ed137596266fa8cc0469d3e7f92aa7c56f
Reviewed-on: http://review.couchbase.org/20253
Reviewed-by: Steve Yen <steve.yen@gmail.com>
Tested-by: Jens Alfke <jens@couchbase.com>
  • Loading branch information...
1 parent 0d57d80 commit 3ce5e948120ccb1a5b9fafd150875e69a01dcefd @snej snej committed Aug 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 wrapper/wrapper.in
View
2 wrapper/wrapper.in
@@ -9,4 +9,4 @@ else
PYTHONPATH=$root:${PYTHONPATH}
fi
export PYTHONPATH
-exec $root/`basename $0` "$@"
+exec "$root"/`basename "$0"` "$@"

0 comments on commit 3ce5e94

Please sign in to comment.
Something went wrong with that request. Please try again.