From: epriestley Date: Wed, 6 Mar 2013 22:43:18 +0000 (-0800) Subject: Fix "arc" when `arcanist/` lives in some directory with spaces in the name X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=419d7de1bfc7730e30624e030ef3ac961ebf25f6;p=arcanist.git Fix "arc" when `arcanist/` lives in some directory with spaces in the name 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 --- diff --git a/bin/arc b/bin/arc index 059a5cbe..e125698b 100755 --- 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" "$@"