swap which and command -v

This commit is contained in:
Maxim Belkin 2018-08-23 20:48:12 +00:00 committed by GitHub
parent 947e1eb57b
commit ae32922d0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ then
else
SAVED_PATH="$PATH"
pathremove "$HOMEBREW_LIBRARY/Homebrew/shims/linux/super"
export MAKE="$(which make)"
export MAKE="$(command -v make)"
export PATH="$SAVED_PATH"
fi