]> git.sesse.net Git - stockfish/commitdiff
Explicitly invoke shell
authorJoost VandeVondele <Joost.VandeVondele@gmail.com>
Sat, 23 Sep 2023 21:26:29 +0000 (23:26 +0200)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Sun, 24 Sep 2023 18:04:42 +0000 (20:04 +0200)
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

src/Makefile

index 1b03bbc2b0ac1c26237830dc2a510743bb5babb7..95f0fe9a577f7940d103b87633704fccfe041b0e 100644 (file)
@@ -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),