mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
Remove dependency from 'which' utility
Debian declared the 'which' utility as deprecated. Fixes #4319
This commit is contained in:
committed by
Christian Helmuth
parent
293d545b97
commit
4cfd954e1e
@@ -31,4 +31,4 @@ MSG_GIT := $(MSG_PREFIX_TXT)git
|
||||
#
|
||||
# Utility to check if a tool is installed
|
||||
#
|
||||
check_tool = $(if $(shell which $(1)),,$(error Need to have '$(1)' installed.))
|
||||
check_tool = $(if $(shell command -v $(1)),,$(error Need to have '$(1)' installed.))
|
||||
|
||||
Reference in New Issue
Block a user