File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed
runtime/druntime/test/exceptions Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -3,19 +3,16 @@ ifdef IN_LDC
33include ../../../../dmd/osmodel.mak
44endif
55
6- $(info $(shell which apk ; echo $$?))
7- $(info $(shell which apk && echo 1 ; echo $$?))
8- $(info $(shell command -v apk ; echo $$?))
9- $(info $(shell command -v apk && echo 1 ; echo $$?))
6+ $(info $(shell which apk &>/dev/null; echo $$?))
7+ $(info $(shell which apk &>/dev/null && echo 1 ; echo $$?))
8+ $(info $(shell command -v apk &>/dev/null ; echo $$?))
9+ $(info $(shell command -v apk &>/dev/null && echo 1 ; echo $$?))
10+
1011
1112ifeq ($(OS ) ,linux)
1213 # FIXME: detect musl libc robustly; just checking Alpine Linux' apk tool for now
13- ifeq (1,$(shell command -v apk &>/dev/null && echo 1))
14- $(warning ~~~ musl detected)
15- IS_MUSL: =1
16- else
17- $(warning ~~~ musl NOT detected)
18- endif
14+ IS_MUSL != command -v apk &>/dev/null && echo 1
15+ $(warning ~~~ musl $(IS_MUSL))
1916endif
2017
2118TESTS =stderr_msg unittest_assert invalid_memory_operation static_dtor \
You can’t perform that action at this time.
0 commit comments