aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Reiter2017-11-28 22:16:45 +0100
committerGitHub2017-11-28 22:16:45 +0100
commitc8ef8ceadcaaa4c933b58c00c12bac53cd1b27f8 (patch)
tree875805862a0ee4f9b6258aa137561a1e1b4be046
parent63408a10ff677909f4397c5c94cfa1f2007c0826 (diff)
parentf7066bae2747b46735ca69e126027ff24b4051c3 (diff)
downloadbrew-c8ef8ceadcaaa4c933b58c00c12bac53cd1b27f8.tar.bz2
Merge pull request #3496 from reitermarkus/fix-shell-detection
Fix `Utils::Shell.parent`.
-rwxr-xr-xbin/brew2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/brew b/bin/brew
index 4b5488a45..402b438a2 100755
--- a/bin/brew
+++ b/bin/brew
@@ -97,7 +97,7 @@ then
FILTERED_ENV+=( "${VAR}=${!VAR}" )
done
- /usr/bin/env -i "${FILTERED_ENV[@]}" /bin/bash "$HOMEBREW_LIBRARY/Homebrew/brew.sh" "$@"
+ exec /usr/bin/env -i "${FILTERED_ENV[@]}" /bin/bash "$HOMEBREW_LIBRARY/Homebrew/brew.sh" "$@"
else
source "$HOMEBREW_LIBRARY/Homebrew/brew.sh"
fi