]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Fix "arc" when `arcanist/` lives in some directory with spaces in the name
authorepriestley <git@epriestley.com>
Wed, 6 Mar 2013 22:43:18 +0000 (14:43 -0800)
committerepriestley <git@epriestley.com>
Wed, 6 Mar 2013 22:43:18 +0000 (14:43 -0800)
Summary: This shell script needs more quotes.

Test Plan: Ran "arc" with `arcanist/` inside a directory called `s p a c e s`.

Reviewers: irinav, vrana

Reviewed By: vrana

CC: aran
Differential Revision: https://secure.phabricator.com/D5265

bin/arc

diff --git a/bin/arc b/bin/arc
index 059a5cbed3927bf1744d0489a6b17982cc737d16..e125698b3cbb906ab4f448d0a08e30215112a249 100755 (executable)
--- a/bin/arc
+++ b/bin/arc
@@ -18,4 +18,4 @@ while [ -h "$SOURCE" ]; do
 done;
 DIR="$(cd -P "$(dirname "$SOURCE")" && pwd)"
 
-exec $DIR/../scripts/arcanist.php "$@"
+exec "$DIR/../scripts/arcanist.php" "$@"