mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Fix Utils::Shell.parent
.
This commit is contained in:
parent
63408a10ff
commit
f7066bae27
2
bin/brew
2
bin/brew
@ -97,7 +97,7 @@ then
|
|||||||
FILTERED_ENV+=( "${VAR}=${!VAR}" )
|
FILTERED_ENV+=( "${VAR}=${!VAR}" )
|
||||||
done
|
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
|
else
|
||||||
source "$HOMEBREW_LIBRARY/Homebrew/brew.sh"
|
source "$HOMEBREW_LIBRARY/Homebrew/brew.sh"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user