Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9acafa8

Browse files
committed
Don't make backups.
Use "mv" instead of "ln -s" to install the new names.
1 parent 0c17d66 commit 9acafa8

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

Doc/node2label.pl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/depot/gnu/plat/bin/perl -i~
1+
#!/depot/gnu/plat/bin/perl -i
22

33
# read the labels, then reverse the mappings
44
require "labels.pl";
@@ -33,6 +33,6 @@
3333
}
3434

3535
foreach $oldname (keys %newnames) {
36-
# or mv
37-
system("ln -s $oldname $newnames{$oldname}");
36+
# or ln -s
37+
system("mv $oldname $newnames{$oldname}");
3838
}

Doc/tools/node2label.pl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/depot/gnu/plat/bin/perl -i~
1+
#!/depot/gnu/plat/bin/perl -i
22

33
# read the labels, then reverse the mappings
44
require "labels.pl";
@@ -33,6 +33,6 @@
3333
}
3434

3535
foreach $oldname (keys %newnames) {
36-
# or mv
37-
system("ln -s $oldname $newnames{$oldname}");
36+
# or ln -s
37+
system("mv $oldname $newnames{$oldname}");
3838
}

0 commit comments

Comments
 (0)