From a37bc72d606b6fe3bb9ada52ee0ffb60a7bd0e93 Mon Sep 17 00:00:00 2001 From: Mohammad Akhlaghi Date: Mon, 14 Jan 2019 15:29:48 +0000 Subject: Fixed call to sed in the standard GNU Build system The call to SED in `dependencies-build-rules.mk' had the file name before the options. On some verions of SED, this would cause problems. So the filename is now given after the options. --- reproduce/src/make/dependencies-build-rules.mk | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'reproduce/src') diff --git a/reproduce/src/make/dependencies-build-rules.mk b/reproduce/src/make/dependencies-build-rules.mk index 9e00fff..299ed11 100644 --- a/reproduce/src/make/dependencies-build-rules.mk +++ b/reproduce/src/make/dependencies-build-rules.mk @@ -67,9 +67,9 @@ gbuild = if [ x$(static_build) = xyes ] && [ $(3)x = staticx ]; then \ fi; \ \ if [ -f $(ibdir)/bash ]; then \ - sed $$confscript -e's|\#\! /bin/sh|\#\! $(ibdir)/bash|' \ - -e's|\#\!/bin/sh|\#\! $(ibdir)/bash|' \ - > $$confscript-tmp; \ + sed -e's|\#\! /bin/sh|\#\! $(ibdir)/bash|' \ + -e's|\#\!/bin/sh|\#\! $(ibdir)/bash|' \ + $$confscript > $$confscript-tmp; \ mv $$confscript-tmp $$confscript; \ chmod +x $$confscript; \ shellop="SHELL=$(ibdir)/bash"; \ @@ -82,7 +82,8 @@ gbuild = if [ x$(static_build) = xyes ] && [ $(3)x = staticx ]; then \ else configop="$$shellop --prefix=$(idir)"; \ fi; \ \ - echo; echo "Using '$$confscript' to configure..."; echo; \ + echo; echo "Using '$$confscript' to configure:"; echo; \ + echo "$$confscript $(4) $$configop"; echo; \ $$confscript $(4) $$configop && \ make "$$shellop" $(5) && \ $$check && \ -- cgit v1.2.1