Skip to content

Commit 5e08573

Browse files
committed
[druntime-test]: exceptions use portable command -v instead of which
Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
1 parent 5320621 commit 5e08573

File tree

1 file changed

+1
-1
lines changed
  • runtime/druntime/test/exceptions

1 file changed

+1
-1
lines changed

runtime/druntime/test/exceptions/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ endif
55

66
ifeq ($(OS),linux)
77
# FIXME: detect musl libc robustly; just checking Alpine Linux' apk tool for now
8-
ifeq (1,$(shell which apk &>/dev/null && echo 1))
8+
ifeq (1,$(shell command -v apk &>/dev/null && echo 1))
99
$(warning ~~~ musl detected)
1010
IS_MUSL:=1
1111
else

0 commit comments

Comments
 (0)