Commit af06a0b4 authored by Fred Drake's avatar Fred Drake

Use Perl's rename() function instead of system(); there's no need for two

additional processes for each name change!
parent 211f22c1
......@@ -51,6 +51,5 @@ while (<>) {
}
foreach $oldname (keys %newnames) {
# or ln -s
system("mv $oldname $newnames{$oldname}");
rename($oldname, $newnames{$oldname});
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment