]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Make bin/arc less linux-centered, more UNIX-agnostic
authorSébastien Santoro <dereckson@espace-win.org>
Tue, 3 Jul 2012 13:34:11 +0000 (06:34 -0700)
committerepriestley <git@epriestley.com>
Tue, 3 Jul 2012 13:34:49 +0000 (06:34 -0700)
Summary: Using /usr/bin/env in #! to allow the arc script to run as is in every UNIX OSes, like FreeBSD where bash is installed in /usr/local/bin/bash.

Test Plan: Tested on Solaris, Ubuntu, kFreeBSD/Debian and FreeBSD.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, epriestley
Maniphest Tasks: T1440

Differential Revision: https://secure.phabricator.com/D2913

bin/arc

diff --git a/bin/arc b/bin/arc
index d90715e7dc086fe8843588bc7f5ba317fee6628d..059a5cbed3927bf1744d0489a6b17982cc737d16 100755 (executable)
--- a/bin/arc
+++ b/bin/arc
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # NOTE: This file is a wrapper script instead of a symlink so it will work in
 # the Git Bash environment in Windows.