diff options
author | Francois Pons <fpons@mandriva.com> | 2002-01-07 15:44:08 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2002-01-07 15:44:08 +0000 |
commit | df7dca98253a2115a3860bb35088aa56f3ad772f (patch) | |
tree | 2c8733893564b5d1885183299e6789bfc5fb6c37 /perl-install/Makefile | |
parent | 19f518e79a176d024b534ea5bf0702ae30463207 (diff) | |
download | drakx-backup-do-not-use-df7dca98253a2115a3860bb35088aa56f3ad772f.tar drakx-backup-do-not-use-df7dca98253a2115a3860bb35088aa56f3ad772f.tar.gz drakx-backup-do-not-use-df7dca98253a2115a3860bb35088aa56f3ad772f.tar.bz2 drakx-backup-do-not-use-df7dca98253a2115a3860bb35088aa56f3ad772f.tar.xz drakx-backup-do-not-use-df7dca98253a2115a3860bb35088aa56f3ad772f.zip |
fixed overwriting of install2 filtering, keep diagnostic and strict for debug mode.
Diffstat (limited to 'perl-install/Makefile')
-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 \ |