diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-11-24 17:55:04 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-11-24 17:55:04 +0000 |
commit | 3c7f7f24a09fd07233e9496bb74eb9ad87945253 (patch) | |
tree | 21bfe9b44427f25afe49d6503963903a7987fd3a | |
parent | 290b70c0de8f15f1f071871dee17302b1e609d17 (diff) | |
download | rpmdrake-3c7f7f24a09fd07233e9496bb74eb9ad87945253.tar rpmdrake-3c7f7f24a09fd07233e9496bb74eb9ad87945253.tar.gz rpmdrake-3c7f7f24a09fd07233e9496bb74eb9ad87945253.tar.bz2 rpmdrake-3c7f7f24a09fd07233e9496bb74eb9ad87945253.tar.xz rpmdrake-3c7f7f24a09fd07233e9496bb74eb9ad87945253.zip |
drop diagnostics, strict, vars and warnings pragmas (should help #45361)
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | simplify-drakx-modules | 5 |
3 files changed, 7 insertions, 0 deletions
@@ -47,6 +47,7 @@ dis: clean rm -rf $(NAME)-$(VERSION) ../$(NAME)-$(VERSION).tar* svn export -q -rBASE . $(NAME)-$(VERSION) find $(NAME)-$(VERSION) -name .svnignore |xargs rm -rf + find $(NAME)-$(VERSION) -name '*.pm' -o -name rpmdrake -o -name MandrivaUpdate | xargs ./simplify-drakx-modules tar cfY ../$(NAME)-$(VERSION).tar.lzma $(NAME)-$(VERSION) rm -rf $(NAME)-$(VERSION) @@ -1,3 +1,4 @@ +- drop diagnostics, strict, vars and warnings pragmas (should help #45361) - edit-urpm-sources: o do not drop 'ignore' flag when updating a medium (#44930) o fix displaying type of altered mirrorlist media (#44930) diff --git a/simplify-drakx-modules b/simplify-drakx-modules new file mode 100755 index 00000000..ec8df1e7 --- /dev/null +++ b/simplify-drakx-modules @@ -0,0 +1,5 @@ +#!/usr/bin/perl -pi + +s/^\s*use\s+(diagnostics|strict|vars|warnings).*//g; + +/^__END__/ and $_ = '', close ARGV; |