Merge pull request #246 from jeremyevans/patch-1
Don't have foreman-runner depend on bash
This commit is contained in:
commit
6b77ca1e46
1 file changed
+3
-3
+3
-3
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
#/ Usage: foreman-runner [-d <dir>] [-p] <command> [<args>...]
|
#/ Usage: foreman-runner [-d <dir>] [-p] <command> [<args>...]
|
||||||
#/
|
#/
|
||||||
@@ -32,9 +32,9 @@ shift $((OPTIND-1))
|
|||||||
|
|
||||||
[ -z "$1" ] && usage
|
[ -z "$1" ] && usage
|
||||||
|
|
||||||
if [ "$read_profile" == "1" ]; then
|
if [ "$read_profile" = "1" ]; then
|
||||||
if [ -f .profile ]; then
|
if [ -f .profile ]; then
|
||||||
source .profile
|
. .profile
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user