summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-01-08 10:03:42 +0000
committerFrancois Pons <fpons@mandriva.com>2002-01-08 10:03:42 +0000
commitb4415dea2cf67a2b6aa397cab93f7045ddc9e4ba (patch)
tree7183d07e4797c55e2838757b36fc77602cc8a752 /perl-install
parent97b28c13b1aa3383a72dc704f6b074c0deb12f81 (diff)
downloaddrakx-b4415dea2cf67a2b6aa397cab93f7045ddc9e4ba.tar
drakx-b4415dea2cf67a2b6aa397cab93f7045ddc9e4ba.tar.gz
drakx-b4415dea2cf67a2b6aa397cab93f7045ddc9e4ba.tar.bz2
drakx-b4415dea2cf67a2b6aa397cab93f7045ddc9e4ba.tar.xz
drakx-b4415dea2cf67a2b6aa397cab93f7045ddc9e4ba.zip
again fixed dam's sucking, please dam's check what you write before commiting.
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/Makefile4
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