From: Nick Harper Date: Sat, 31 Mar 2012 03:28:02 +0000 (-0700) Subject: [arcanist] properly handle arguments with spaces X-Git-Tag: conduit-4~68 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=0d76ac696878ff809e37b1b2f2cb2bd75cf85820;p=arcanist.git [arcanist] properly handle arguments with spaces Summary: The new wrapper shell script that is bin/arc does not correctly handle arguments with spaces in them. Test Plan: added a print_r($argv) to scripts/arcanist.php and ran bin/arc -m "testing something" to see that "testing something" got passed in as one argument instead of two. Reviewers: jungejason, epriestley Reviewed By: epriestley CC: aran Differential Revision: https://secure.phabricator.com/D2066 --- diff --git a/bin/arc b/bin/arc index 8ca8af85..4436fa89 100755 --- a/bin/arc +++ b/bin/arc @@ -11,5 +11,5 @@ while [ -h "$SOURCE" ]; do done; DIR="$(cd -P "$(dirname "$SOURCE")" && pwd)" -exec $DIR/../scripts/arcanist.php $@ +exec $DIR/../scripts/arcanist.php "$@"