mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 07:08:48 +00:00
Merge pull request #2483 from jprukner/fix-alias-which-check
Fix which command check
This commit is contained in:
+1
-1
@@ -157,7 +157,7 @@ run_demo() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
have_which() {
|
have_which() {
|
||||||
if ! [ -x "$(command -v which)" ]; then
|
if ! command -v which > /dev/null 2>&1 ; then
|
||||||
panic "Could not find \`which\`"
|
panic "Could not find \`which\`"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user