mirror of
https://github.com/python/cpython.git
synced 2025-11-03 11:23:31 +00:00
Don't make backups.
Use "mv" instead of "ln -s" to install the new names.
This commit is contained in:
parent
0c17d661e0
commit
9acafa8bb5
2 changed files with 6 additions and 6 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#!/depot/gnu/plat/bin/perl -i~
|
||||
#!/depot/gnu/plat/bin/perl -i
|
||||
|
||||
# read the labels, then reverse the mappings
|
||||
require "labels.pl";
|
||||
|
|
@ -33,6 +33,6 @@ while (<>) {
|
|||
}
|
||||
|
||||
foreach $oldname (keys %newnames) {
|
||||
# or mv
|
||||
system("ln -s $oldname $newnames{$oldname}");
|
||||
# or ln -s
|
||||
system("mv $oldname $newnames{$oldname}");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/depot/gnu/plat/bin/perl -i~
|
||||
#!/depot/gnu/plat/bin/perl -i
|
||||
|
||||
# read the labels, then reverse the mappings
|
||||
require "labels.pl";
|
||||
|
|
@ -33,6 +33,6 @@ while (<>) {
|
|||
}
|
||||
|
||||
foreach $oldname (keys %newnames) {
|
||||
# or mv
|
||||
system("ln -s $oldname $newnames{$oldname}");
|
||||
# or ln -s
|
||||
system("mv $oldname $newnames{$oldname}");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue