summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-11-28 11:36:41 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-11-28 11:36:41 +0000
commit2cb9f81d196e91f37886a355788eb261bdc6c190 (patch)
treef692bdea2adde0ec74df9acc39d41c239e0a7c37 /perl-install
parent39247d21083f30a5905ece7297f9e497bb52bcbb (diff)
downloaddrakx-backup-do-not-use-2cb9f81d196e91f37886a355788eb261bdc6c190.tar
drakx-backup-do-not-use-2cb9f81d196e91f37886a355788eb261bdc6c190.tar.gz
drakx-backup-do-not-use-2cb9f81d196e91f37886a355788eb261bdc6c190.tar.bz2
drakx-backup-do-not-use-2cb9f81d196e91f37886a355788eb261bdc6c190.tar.xz
drakx-backup-do-not-use-2cb9f81d196e91f37886a355788eb261bdc6c190.zip
fix removing of pods when installing pms
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile
index cda9e07a8..5481f076d 100644
--- a/perl-install/Makefile
+++ b/perl-install/Makefile
@@ -62,7 +62,7 @@ install_pms: $(DIRS)
dest=$(DESTREP4PMS)/`dirname $$i`; \
install -d $$dest; \
perl -ne 'print' $$i > $(DESTREP4PMS)/$$i; \
- perl -pe 's/#[-+].*//; $$_ = "\n" if (/^=head/ .. /^=cut/) || /use (diagnostics|vars|strict)/' $$i > $(DESTREP4PMS)/$$i; \
+ perl -pe 's/#[-+].*//; $$_ = "\n" if (/^=(head|begin)/ .. /^=cut/) || /use (diagnostics|vars|strict)/' $$i > $(DESTREP4PMS)/$$i; \
done
if [ "x$(PERL_INSTALL_DEBUG)" == "x" ]; then \
perl -pi -e 's|#!/usr/bin/perl -d.*\n|#!/usr/bin/perl\n|' $(DESTREP4PMS)/install2; \