mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-18 20:40:28 +00:00
add redirect to /dev/null
This commit is contained in:
@@ -157,7 +157,7 @@ run_demo() {
|
||||
}
|
||||
|
||||
have_which() {
|
||||
if ! command -v which 2>&1 ; then
|
||||
if ! command -v which > /dev/null 2>&1 ; then
|
||||
panic "Could not find \`which\`"
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user