diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile index 9d30b56c4..402407d07 100644 --- a/perl-install/Makefile +++ b/perl-install/Makefile @@ -53,12 +53,10 @@ 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 \ -# diagnostics and sctrict are already removed by last 7 lines. - perl -pe 's|#!/usr/bin/perl -d.*\n|#!/usr/bin/perl\n|' $(DESTREP4PMS)/install2 > $(DESTREP4PMS)/install2; \ + perl -pi -e 's|#!/usr/bin/perl -d.*\n|#!/usr/bin/perl\n|' $(DESTREP4PMS)/install2; \ else \ perl -pe 's|#!/usr/bin/perl.*\n|#!/usr/bin/perl -d \n|' install2 > $(DESTREP4PMS)/install2; \ fi \ -# perl -pe 's/#-.*//; $$_ = "\n" if (/^=head/ .. /^=cut/) || /use (diagnostics)/' $$i > $(DESTREP4PMS)/$$i; \ cp share/*.rc $(DESTREP4PMS) chmod a+x $(DESTREP4PMS)/install2 |