Commit a8b564fa authored by neilpang's avatar neilpang
Browse files

typo

parent b97e1403
...@@ -249,7 +249,7 @@ _exists() { ...@@ -249,7 +249,7 @@ _exists() {
fi fi
if command >/dev/null 2>&1; then if command >/dev/null 2>&1; then
command -v "$cmd" >/dev/null 2>&1 command -v "$cmd" >/dev/null 2>&1
elif which >/dev/null 2>&1; elif which >/dev/null 2>&1; then
which "$cmd" >/dev/null 2>&1 which "$cmd" >/dev/null 2>&1
fi fi
ret="$?" ret="$?"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment