summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/mvdir.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/mvdir.pl b/util/mvdir.pl
index 53acd9b3..e853df05 100644
--- a/util/mvdir.pl
+++ b/util/mvdir.pl
@@ -28,7 +28,7 @@ unlink $sym;
symlink($todir, $sym);
foreach( @dirs ){
- printf("processing %-20s (%04d/%04d)\n", $_, ++$index, $#dirs);
+ printf("processing %-20s (%04d/%04d)\n", $_, $index++, $#dirs);
unlink "$todir/$_";
`mv $fromdir/$_ $todir/$_`;
}