diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-11-12 13:34:05 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-11-12 13:34:05 +0000 |
commit | 30d538cd40fd97ab27e9988bfbeb29ad671249eb (patch) | |
tree | 20d0673a92ff5ed7e5599fbb349b66ba0943f567 /simplify-drakx-modules | |
parent | 0ca8c2f912d017fc873fa9889d0755065060852e (diff) | |
download | rpmdrake-30d538cd40fd97ab27e9988bfbeb29ad671249eb.tar rpmdrake-30d538cd40fd97ab27e9988bfbeb29ad671249eb.tar.gz rpmdrake-30d538cd40fd97ab27e9988bfbeb29ad671249eb.tar.bz2 rpmdrake-30d538cd40fd97ab27e9988bfbeb29ad671249eb.tar.xz rpmdrake-30d538cd40fd97ab27e9988bfbeb29ad671249eb.zip |
drop diagnostics, strict, vars and warnings pragmas (should help #45361)
Diffstat (limited to 'simplify-drakx-modules')
-rwxr-xr-x | simplify-drakx-modules | 5 |
1 files changed, 5 insertions, 0 deletions
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; |