From 0d76ac696878ff809e37b1b2f2cb2bd75cf85820 Mon Sep 17 00:00:00 2001 From: Nick Harper Date: Fri, 30 Mar 2012 20:28:02 -0700 Subject: [PATCH] [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 --- bin/arc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 "$@" -- 2.43.0