Merge pull request #3611 from MikeMcQuaid/git-prefix-cd-warning
scm/git: hide prefix cd failure warning.
This commit is contained in:
commit
29aa317d77
@ -92,11 +92,11 @@ case "$(lowercase "$SCM_FILE")" in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
brew_version="$(quiet_safe_cd "$SCM_DIR/../../../../../bin" && pwd -P)/$SCM_FILE"
|
brew_prefix_version="$(quiet_safe_cd "$SCM_DIR/../../../../../bin" 2>/dev/null && pwd -P)/$SCM_FILE"
|
||||||
safe_exec "$brew_version" "$@"
|
safe_exec "$brew_prefix_version" "$@"
|
||||||
|
|
||||||
brew_version="$(quiet_safe_cd "$SCM_DIR/../../../../bin" && pwd -P)/$SCM_FILE"
|
brew_repo_version="$(quiet_safe_cd "$SCM_DIR/../../../../bin" && pwd -P)/$SCM_FILE"
|
||||||
safe_exec "$brew_version" "$@"
|
safe_exec "$brew_repo_version" "$@"
|
||||||
|
|
||||||
IFS=$'\n'
|
IFS=$'\n'
|
||||||
for path in $(/usr/bin/which -a "$SCM_FILE" 2>/dev/null)
|
for path in $(/usr/bin/which -a "$SCM_FILE" 2>/dev/null)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user