summaryrefslogtreecommitdiffstats
path: root/tools/simplify-drakx-modules
diff options
context:
space:
mode:
Diffstat (limited to 'tools/simplify-drakx-modules')
-rwxr-xr-xtools/simplify-drakx-modules4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/simplify-drakx-modules b/tools/simplify-drakx-modules
index 9276a64dd..ec8df1e76 100755
--- a/tools/simplify-drakx-modules
+++ b/tools/simplify-drakx-modules
@@ -1,3 +1,5 @@
#!/usr/bin/perl -pi
-s/^\s*use\s+(diagnostics|strict|vars|warnings).*//g
+s/^\s*use\s+(diagnostics|strict|vars|warnings).*//g;
+
+/^__END__/ and $_ = '', close ARGV;