Whamcloud - gitweb
Update makefile dependencies
[tools/e2fsprogs.git] / wordwrap.pl
index 646bbc3..807c628 100644 (file)
@@ -9,8 +9,8 @@ while (<>) {
     }
     next if (/^$/);    # skip blank lines
     $linelen = 0;
-    split;
-    while (defined($word = shift @_)) {
+    @words = split;
+    while (defined($word = shift @words)) {
        $word =~ s#\$\(srcdir\)/\.\./version.h#\$\(top_srcdir\)/version.h#;
        $word =~ s#\$\(srcdir\)/.\.\/\.\./version.h#\$\(top_srcdir\)/version.h#;
        $word =~ s#\$\(srcdir\)/.\.\/et/com_err.h#\$\(top_srcdir\)/lib/et/com_err.h#;