From: Fred Drake Date: Wed, 18 Feb 1998 14:52:24 +0000 (+0000) Subject: Don't make backups. X-Git-Tag: v1.5.1~699 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9acafa8bb54c42eaa1ec252511eb7720ca4c268c;p=python Don't make backups. Use "mv" instead of "ln -s" to install the new names. --- diff --git a/Doc/node2label.pl b/Doc/node2label.pl index 8a77cbf59e..8159900688 100755 --- a/Doc/node2label.pl +++ b/Doc/node2label.pl @@ -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}"); } diff --git a/Doc/tools/node2label.pl b/Doc/tools/node2label.pl index 8a77cbf59e..8159900688 100755 --- a/Doc/tools/node2label.pl +++ b/Doc/tools/node2label.pl @@ -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}"); }