From: epriestley Date: Tue, 20 Mar 2012 02:23:41 +0000 (-0700) Subject: Replace "bin/arc" with a shell script X-Git-Tag: conduit-4~85 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=27725b073e55f2be6381310b929d7c1c775b6c9e;p=arcanist.git Replace "bin/arc" with a shell script Summary: Currently, we use a symlink. Under git bash, it tries to run the symlink. This is not a recipe for success. Instead, use a trivial wrapper script. Test Plan: Ran "arc" from git bash. Reviewers: Makinde, btrahan, Koolvin Reviewed By: Koolvin CC: aran, epriestley Maniphest Tasks: T124 Differential Revision: https://secure.phabricator.com/D1939 --- diff --git a/bin/arc b/bin/arc deleted file mode 120000 index 7aac748c..00000000 --- a/bin/arc +++ /dev/null @@ -1 +0,0 @@ -../scripts/arcanist.php \ No newline at end of file diff --git a/bin/arc b/bin/arc new file mode 100755 index 00000000..bf49fa39 --- /dev/null +++ b/bin/arc @@ -0,0 +1,7 @@ +#!/bin/sh + +# NOTE: This file is a wrapper script instead of a symlink so it will work in +# the Git Bash environment in Windows. + +exec `dirname $0`/../scripts/arcanist.php $@ +