From d58a91b9b226c08b3c7a0dbefaf30b98791b29d0 Mon Sep 17 00:00:00 2001 From: Michael Clark Date: Thu, 14 Jun 2018 13:19:45 -0700 Subject: [PATCH] Remove bashism from download_prerequisites check This change is to fix an error which prevents the Makefile from downloading gmp, mpfr, mpc, and isl on systems with a bourne shell. --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index f6f78f3a..ce0c53d7 100644 --- a/Makefile.in +++ b/Makefile.in @@ -138,7 +138,7 @@ $(addprefix src/,$(PACKAGES)): src/%: src/original-% cp -a $< $@.tmp $(srcdir)/scripts/cp_s $(srcdir)/$(notdir $@) $@.tmp cd $@.tmp && patch -p1 < $(srcdir)/patches/$(notdir $@) - if test -f $@.tmp/contrib/download_prerequisites && test "@NEED_GCC_EXTERNAL_LIBRARIES@" == "true"; then cd $@.tmp && ./contrib/download_prerequisites; fi + if test -f $@.tmp/contrib/download_prerequisites && test "@NEED_GCC_EXTERNAL_LIBRARIES@" = "true"; then cd $@.tmp && ./contrib/download_prerequisites; fi mv $@.tmp $@ .PHONY: patches $(addprefix $(srcdir)/patches/,$(PACKAGES))