1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-09-20 00:49:11 +02:00

[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
This commit is contained in:
Nick Harper 2012-03-30 20:28:02 -07:00
parent a0c5835a43
commit 0d76ac6968

View file

@ -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 "$@"