Makefile.fetch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 884606e74bee007c0286a16fb8aa8fc8af9a8779 Author: Michael Stahl <[email protected]> Date: Mon Oct 5 17:44:10 2015 +0200 Makefile.fetch: explicitly invoke bash for $PIPESTATUS Since commit 5067d31364695d892d4290afb039a9877450fccb the SHELL variable is no longer set to bash in Makefile.in, so $PIPESTATUS is empty and the fetch command fails due to syntax error (as reported by Olivier Hallot). Since i have no idea how to implement the equivalent of $PIPESTATUS for shells that lack it, just invoke bash explicitly here. Change-Id: I7e27377e54c7e19175abcbec0beefca31a55a2bd Reviewed-on: https://gerrit.libreoffice.org/19164 Reviewed-by: Eike Rathke <[email protected]> Tested-by: Eike Rathke <[email protected]> diff --git a/Makefile.fetch b/Makefile.fetch index 8429228..44d8aad 100644 --- a/Makefile.fetch +++ b/Makefile.fetch @@ -11,12 +11,12 @@ fetch_LOGFILE := $(TARFILE_LOCATION)/fetch.log ifneq (,$(WGET)) define fetch_Download__wget_command -&& $(WGET) --progress=dot:mega -4 -Q 0 -P "." -l 0 -nd -nH -N $1/$2 2>&1 | tee -a $(fetch_LOGFILE) && [ $$PIPESTATUS -eq 0 ] +&& bash -c '$(WGET) --progress=dot:mega -4 -Q 0 -P "." -l 0 -nd -nH -N $1/$2 2>&1 | tee -a $(fetch_LOGFILE) && [ $$PIPESTATUS -eq 0 ]' endef else define fetch_Download__wget_command -&& echo fetching $2 && $(CURL) -O $1/$2 2>&1 | tee -a $(fetch_LOGFILE) && [ $$PIPESTATUS -eq 0 ] +&& echo fetching $2 && bash -c '$(CURL) -O $1/$2 2>&1 | tee -a $(fetch_LOGFILE) && [ $$PIPESTATUS -eq 0 ]' endef endif _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
