diff options
author | Richard Levitte <levitte@openssl.org> | 2016-03-19 11:18:56 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-03-19 11:18:56 +0100 |
commit | 5287761bfc34d32572b1acfd6e64fd8c0fb2f799 (patch) | |
tree | 723ce012ada62385a6521655fe63d66888c810ce /Configurations | |
parent | 243a98d4a03a411dfe6db727dbf90adbfa2e7474 (diff) | |
download | openssl-5287761bfc34d32572b1acfd6e64fd8c0fb2f799.zip openssl-5287761bfc34d32572b1acfd6e64fd8c0fb2f799.tar.gz openssl-5287761bfc34d32572b1acfd6e64fd8c0fb2f799.tar.bz2 |
Replace sed command with perl
Some implementations of sed require a newline before an ending '}'.
The easier method is to replace that sed command with the
corresponding perl command.
Closes RT#4448
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'Configurations')
-rw-r--r-- | Configurations/unix-Makefile.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl index 425804d..1923acc 100644 --- a/Configurations/unix-Makefile.tmpl +++ b/Configurations/unix-Makefile.tmpl @@ -492,11 +492,11 @@ uninstall_runtime: # A method to extract all names from a .pod file # The first sed extracts everything between "=head1 NAME" and the next =head1 -# The second sed joins all the lines into one -# The third sed removes the description and turns all commas into spaces +# The perl command joins all the lines into one +# The second sed removes the description and turns all commas into spaces # VoilĂ , you have a space separated list of names! EXTRACT_NAMES=sed -e '1,/^=head1 *NAME *$$/d;/^=head1/,$$d' | \ - sed -e ':a;{N;s/\n/ /;ba}' | \ + $(PERL) -p -0 -e 's/\n/ /g; END {print "\n"}' | \ sed -e 's/ - .*$$//;s/,/ /g' PROCESS_PODS=\ set -e; \ |