bin/foreman-runner in foreman-0.58.0 vs bin/foreman-runner in foreman-0.59.0
- old
+ new
@@ -1,6 +1,6 @@
-#!/usr/bin/env bash
+#!/bin/sh
#
#/ Usage: foreman-runner [-d <dir>] [-p] <command> [<args>...]
#/
#/ Run a command with exec, optionally changing directory first
@@ -30,12 +30,12 @@
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
exec "$@"