mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00:00
Shell brace expansion is non-POSIX
Preparation of base-pistachio fails on Ubuntu with dash as /bin/sh as it does not support non-POSIX features like brace expansion. In this case expanding in the Makefile via $(addprefix ...) fixes this shortcoming.
This commit is contained in:
parent
2a03c78dfb
commit
45f007fa9f
@ -26,7 +26,7 @@ $(call check_tool,autoconf)
|
||||
#
|
||||
# Determine python version to use for CML2
|
||||
#
|
||||
PYTHON2 := $(notdir $(lastword $(shell which python2 python2.{4,5,6,7,8})))
|
||||
PYTHON2 := $(notdir $(lastword $(shell which python2 $(addprefix python2.,4 5 6 7 8))))
|
||||
ifeq ($(PYTHON2),)
|
||||
prepare: python_not_installed
|
||||
python_not_installed:
|
||||
|
Loading…
x
Reference in New Issue
Block a user