From 27725b073e55f2be6381310b929d7c1c775b6c9e Mon Sep 17 00:00:00 2001 From: epriestley Date: Mon, 19 Mar 2012 19:23:41 -0700 Subject: [PATCH] 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 --- bin/arc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) mode change 120000 => 100755 bin/arc 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 $@ + -- 2.43.0