summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2002-01-07 15:46:59 +0000
committerdamien <damien@mandriva.com>2002-01-07 15:46:59 +0000
commit1ab2bcedda2529cdb752df260848536c5cd38ff7 (patch)
tree40d5a52625aeabd1b95b6b4e31de3eb6a529c073
parentdf7dca98253a2115a3860bb35088aa56f3ad772f (diff)
downloaddrakx-backup-do-not-use-1ab2bcedda2529cdb752df260848536c5cd38ff7.tar
drakx-backup-do-not-use-1ab2bcedda2529cdb752df260848536c5cd38ff7.tar.gz
drakx-backup-do-not-use-1ab2bcedda2529cdb752df260848536c5cd38ff7.tar.bz2
drakx-backup-do-not-use-1ab2bcedda2529cdb752df260848536c5cd38ff7.tar.xz
drakx-backup-do-not-use-1ab2bcedda2529cdb752df260848536c5cd38ff7.zip
socmetic
-rw-r--r--perl-install/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile
index 6debe136a..9d30b56c4 100644
--- a/perl-install/Makefile
+++ b/perl-install/Makefile
@@ -53,8 +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/#[-+].*//; $$_ = "\n" if (/^=head/ .. /^=cut/) || /use (diagnostics|vars|strict)/;\
- s|#!/usr/bin/perl -d.*\n|#!/usr/bin/perl\n|' install2 > $(DESTREP4PMS)/install2; \
+# 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; \
else \
perl -pe 's|#!/usr/bin/perl.*\n|#!/usr/bin/perl -d \n|' install2 > $(DESTREP4PMS)/install2; \
fi \