]> granicus.if.org Git - python/commitdiff
Don't make backups.
authorFred Drake <fdrake@acm.org>
Wed, 18 Feb 1998 14:52:24 +0000 (14:52 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 18 Feb 1998 14:52:24 +0000 (14:52 +0000)
Use "mv" instead of "ln -s" to install the new names.

Doc/node2label.pl
Doc/tools/node2label.pl

index 8a77cbf59ee65be13abf24d9519ceb9cb009709b..81599006885edb50b90f8727ef1661b97021d38f 100755 (executable)
@@ -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}");
 }
index 8a77cbf59ee65be13abf24d9519ceb9cb009709b..81599006885edb50b90f8727ef1661b97021d38f 100755 (executable)
@@ -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}");
 }