diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/brew.sh | 10 | ||||
| -rw-r--r-- | Library/Homebrew/system_config.rb | 1 |
2 files changed, 1 insertions, 10 deletions
diff --git a/Library/Homebrew/brew.sh b/Library/Homebrew/brew.sh index bd88a23f5..c8f66bd45 100644 --- a/Library/Homebrew/brew.sh +++ b/Library/Homebrew/brew.sh @@ -246,16 +246,6 @@ case "$HOMEBREW_COMMAND" in --config) HOMEBREW_COMMAND="config" ;; esac -if [[ -z "$HOMEBREW_DEVELOPER" ]] -then - export HOMEBREW_GIT_CONFIG_FILE="$HOMEBREW_REPOSITORY/.git/config" - HOMEBREW_GIT_CONFIG_DEVELOPERMODE="$(git config --file="$HOMEBREW_GIT_CONFIG_FILE" --get homebrew.devcmdrun 2>/dev/null)" - if [[ "$HOMEBREW_GIT_CONFIG_DEVELOPERMODE" = "true" ]] - then - export HOMEBREW_DEV_CMD_RUN="1" - fi -fi - if [[ -f "$HOMEBREW_LIBRARY/Homebrew/cmd/$HOMEBREW_COMMAND.sh" ]] then HOMEBREW_BASH_COMMAND="$HOMEBREW_LIBRARY/Homebrew/cmd/$HOMEBREW_COMMAND.sh" diff --git a/Library/Homebrew/system_config.rb b/Library/Homebrew/system_config.rb index ef7572d22..28eecf951 100644 --- a/Library/Homebrew/system_config.rb +++ b/Library/Homebrew/system_config.rb @@ -185,6 +185,7 @@ class SystemConfig HOMEBREW_BREW_FILE HOMEBREW_COMMAND_DEPTH HOMEBREW_CURL + HOMEBREW_GIT_CONFIG_FILE HOMEBREW_LIBRARY HOMEBREW_MACOS_VERSION HOMEBREW_RUBY_PATH |
