aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils
diff options
context:
space:
mode:
authorDoug Hazell2017-02-12 14:31:37 +0000
committerDoug Hazell2017-02-12 14:31:37 +0000
commit0bb0228962cebcce05ab966618945621ba144fcb (patch)
treeed8137dc0aa173494d8e1eccb6e152bd74bdcf86 /Library/Homebrew/utils
parente78b31905df68309af65347a4ed2338f87942854 (diff)
downloadbrew-0bb0228962cebcce05ab966618945621ba144fcb.tar.bz2
Presumably the "env -I" was a typo for "env -i"
Just sourcing brew.sh causes the "Example usage" msg due to lacking command args but changing the last line of your suggestion to: /bin/bash "$HOMEBREW_LIBRARY/Homebrew/brew.sh" "$@" worked. If all of the 'HOMEBREW.*' vars, that other parts of the system require, are only added in brew.sh then your suggestion is cleaner.
Diffstat (limited to 'Library/Homebrew/utils')
-rwxr-xr-xLibrary/Homebrew/utils/shell_env.sh15
1 files changed, 0 insertions, 15 deletions
diff --git a/Library/Homebrew/utils/shell_env.sh b/Library/Homebrew/utils/shell_env.sh
deleted file mode 100755
index fc7e1c972..000000000
--- a/Library/Homebrew/utils/shell_env.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/bash
-set +o posix
-
-IFS="="
-
-while read -r key value
-do
- export "$key=$value"
-done < /tmp/homebrew-env
-
-# Need to reset IFS to default value for later shell functions like 'printf -v HOMEBREW_MACOS_VERSION_NUMERIC ...' to work
-unset IFS
-
-# HOMEBREW_LIBRARY will have been readded above having been added originally in 'bin/brew'
-source "$HOMEBREW_LIBRARY/Homebrew/brew.sh"