diff options
author | Richard Levitte <levitte@openssl.org> | 2016-10-31 17:38:36 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-10-31 23:18:24 +0100 |
commit | ebca7961a6bc2652ecb3cf6dda3f43943e2965d3 (patch) | |
tree | 94063ae2d8d2c786bc584ad437acf7e97741282d /Configurations | |
parent | 4b90430148447ff06f993ed6fec2367183c79f6b (diff) | |
download | openssl-ebca7961a6bc2652ecb3cf6dda3f43943e2965d3.tar.gz |
Unix Makefile: Some sed implementation truncate long lines. Use perl instead.
Fixes #1781
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1813)
Diffstat (limited to 'Configurations')
-rw-r--r-- | Configurations/unix-Makefile.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl index c24ba622ad..b263832927 100644 --- a/Configurations/unix-Makefile.tmpl +++ b/Configurations/unix-Makefile.tmpl @@ -302,7 +302,7 @@ distclean: clean depend: @: {- output_off() if $disabled{makedepend}; "" -} @if egrep "^# DO NOT DELETE THIS LINE" Makefile >/dev/null && [ -z "`find $(DEPS) -newer Makefile 2>/dev/null; exit 0`" ]; then :; else \ - ( sed -e '/^# DO NOT DELETE THIS LINE.*/,$$d' < Makefile; \ + ( $(PERL) -pe 'exit 0 if /^# DO NOT DELETE THIS LINE.*/' < Makefile; \ echo '# DO NOT DELETE THIS LINE -- make depend depends on it.'; \ echo; \ for f in $(DEPS); do \ |