diff options
author | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2019-01-14 15:29:48 +0000 |
---|---|---|
committer | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2019-01-14 15:29:48 +0000 |
commit | a37bc72d606b6fe3bb9ada52ee0ffb60a7bd0e93 (patch) | |
tree | 9b7edca8eeaea90521eae417674078d98b4d6ef4 | |
parent | ca83e50347452d47bd9915156e896201d09b44a5 (diff) |
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.
-rw-r--r-- | reproduce/src/make/dependencies-build-rules.mk | 9 |
1 files changed, 5 insertions, 4 deletions
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 && \ |