Fix Utils::Shell.parent.

This commit is contained in:
Markus Reiter 2017-11-28 21:05:51 +01:00
parent 63408a10ff
commit f7066bae27

View File

@ -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