diff options
| author | Xu Cheng | 2016-05-03 16:14:15 +0800 |
|---|---|---|
| committer | Xu Cheng | 2016-05-13 14:37:18 +0800 |
| commit | 92934db20296a79b1507499a44614b63056b9841 (patch) | |
| tree | 86750c1c2a5406f858706623bc0614c65bf273dd /Library | |
| parent | 2044294a865a85c4c3144a3000bd9a48427e12c6 (diff) | |
| download | brew-92934db20296a79b1507499a44614b63056b9841.tar.bz2 | |
move brew shell function to brew.sh
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/update.sh | 4 | ||||
| -rw-r--r-- | Library/brew.sh | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Library/Homebrew/cmd/update.sh b/Library/Homebrew/cmd/update.sh index 0ad66b8b4..9ba5b2503 100644 --- a/Library/Homebrew/cmd/update.sh +++ b/Library/Homebrew/cmd/update.sh @@ -7,10 +7,6 @@ source "$HOMEBREW_LIBRARY/Homebrew/utils/lock.sh" -brew() { - "$HOMEBREW_BREW_FILE" "$@" -} - git() { "$HOMEBREW_LIBRARY/ENV/scm/git" "$@" } diff --git a/Library/brew.sh b/Library/brew.sh index 5589bcc68..0469244b3 100644 --- a/Library/brew.sh +++ b/Library/brew.sh @@ -24,6 +24,10 @@ chdir() { cd "$@" >/dev/null || odie "Error: failed to cd to $*!" } +brew() { + "$HOMEBREW_BREW_FILE" "$@" +} + # Force UTF-8 to avoid encoding issues for users with broken locale settings. if [[ "$(locale charmap 2> /dev/null)" != "UTF-8" ]] then |
