diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile index e98215a3f..6debe136a 100644 --- a/perl-install/Makefile +++ b/perl-install/Makefile @@ -53,7 +53,8 @@ install_pms: $(DIRS) perl -pe 's/#[-+].*//; $$_ = "\n" if (/^=head/ .. /^=cut/) || /use (diagnostics|vars|strict)/' $$i > $(DESTREP4PMS)/$$i; \ done if [ "x$(PERL_INSTALL_DEBUG)" == "x" ]; then \ - perl -pe 's|#!/usr/bin/perl -d.*\n|#!/usr/bin/perl\n|' install2 > $(DESTREP4PMS)/install2; \ + perl -pe 's/#[-+].*//; $$_ = "\n" if (/^=head/ .. /^=cut/) || /use (diagnostics|vars|strict)/;\ + s|#!/usr/bin/perl -d.*\n|#!/usr/bin/perl\n|' install2 > $(DESTREP4PMS)/install2; \ else \ perl -pe 's|#!/usr/bin/perl.*\n|#!/usr/bin/perl -d \n|' install2 > $(DESTREP4PMS)/install2; \ fi \ |