Permalink
Browse files

fix shebangs to use /usr/bin/env to find bash

  • Loading branch information...
1 parent b2063fa commit 14d938d5ce923b94cc43feff7e6d9a16d3edce59 @paulbaumgart paulbaumgart committed May 18, 2010
Showing with 4 additions and 4 deletions.
  1. +1 −1 bin/narwhal
  2. +1 −1 bin/sea
  3. +1 −1 engines/rhino/bin/narwhal-rhino
  4. +1 −1 engines/template/bin/narwhal-engine-name
View
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# get the absolute path of the executable
SELF_PATH=$(cd -P -- "$(dirname -- "$0")" && pwd -P) && SELF_PATH="$SELF_PATH/$(basename -- "$0")"
View
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# this script is intended to work both in narwhal/bin and in
# any project's bin dir; it's copied by tusk --init.
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# get the absolute path of the executable
SELF_PATH=$(cd -P -- "$(dirname -- "$0")" && pwd -P) && SELF_PATH="$SELF_PATH/$(basename -- "$0")"
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# get the absolute path of the executable
SELF_PATH=$(cd -P -- "$(dirname -- "$0")" && pwd -P) && SELF_PATH=$SELF_PATH/$(basename -- "$0")

0 comments on commit 14d938d

Please sign in to comment.