Use /bin/sh instead of bash for foreman-runner

/bin/sh should be installed by default on all unix machines, bash
is not necessarily installed on all machines.
This commit is contained in:
Jeremy Evans
2012-09-14 17:35:54 -07:00
parent 6c04dab649
commit 6a44dd3fd3
+3 -3
View File
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/sh
#
#/ Usage: foreman-runner [-d <dir>] [-p] <command> [<args>...]
#/
@@ -32,9 +32,9 @@ shift $((OPTIND-1))
[ -z "$1" ] && usage
if [ "$read_profile" == "1" ]; then
if [ "$read_profile" = "1" ]; then
if [ -f .profile ]; then
source .profile
. .profile
fi
fi