From: Joost VandeVondele Date: Sat, 23 Sep 2023 21:26:29 +0000 (+0200) Subject: Explicitly invoke shell X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=22cdb6c1ea1f5ca429333bcbe26706c8b4dd38d7 Explicitly invoke shell in some cases the permission on the script might be incorrect (zip downloads?). Explicitly invoke the shell closes https://github.com/official-stockfish/Stockfish/pull/4803 No functional change --- diff --git a/src/Makefile b/src/Makefile index 1b03bbc2..95f0fe9a 100644 --- a/src/Makefile +++ b/src/Makefile @@ -108,7 +108,7 @@ ifeq ($(ARCH),) endif ifeq ($(ARCH), native) - override ARCH = $(shell ../scripts/get_native_properties.sh | cut -d " " -f 1) + override ARCH = $(shell $(SHELL) ../scripts/get_native_properties.sh | cut -d " " -f 1) endif # explicitly check for the list of supported architectures (as listed with make help),