Browse Source

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.
pull/339/head
Michael Clark 8 years ago
parent
commit
d58a91b9b2
No known key found for this signature in database GPG Key ID: 6BF1D7B357EF3E4F
  1. 2
      Makefile.in

2
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))

Loading…
Cancel
Save