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:
1 parent
6c04dab649
commit
6a44dd3fd3
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