Replace use of which with type -p

This commit is contained in:
Sylvestre Ledru 2021-09-18 16:24:07 +02:00
parent 5fa3bf8cca
commit 5f7be1a1b8

2
debian/rules vendored
View File

@ -129,7 +129,7 @@ else
control_vars = '-Vdep:devlibs=libstdc++6-$(GCC_VERSION)-dev'
endif
ifeq ($(shell which llvm-spirv),)
ifeq ($(shell type -p llvm-spirv),)
LLVM_SPIRV_INSTALLED = no
else
LLVM_SPIRV_INSTALLED = yes