[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [torbrowser/master] [2312 Linux] Fix code typos in remove-shared-lib-symlinks



commit d75dfa652d87bfd826ad5fffdc944036c1683cb9
Author: Robert Ransom <rransom.8774@xxxxxxxxx>
Date:   Fri Sep 2 01:57:22 2011 -0400

    [2312 Linux] Fix code typos in remove-shared-lib-symlinks
---
 build-scripts/remove-shared-lib-symlinks |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/build-scripts/remove-shared-lib-symlinks b/build-scripts/remove-shared-lib-symlinks
index 779b707..bba37d8 100755
--- a/build-scripts/remove-shared-lib-symlinks
+++ b/build-scripts/remove-shared-lib-symlinks
@@ -165,7 +165,7 @@ foreach {x} $shared_lib_filenames {
         # can now remove it from that list -- no name later in the
         # list can be a symlink to this file.
         set i [lsearch -exact $shared_libs_renamed $x]
-        if {i != -1} {
+        if {$i != -1} {
             set shared_libs_renamed [lreplace $shared_libs_renamed $i $i]
         }
         continue
@@ -210,7 +210,7 @@ close $action_list_chan
 # Perform the rename/delete actions.
 #
 # FIXME There should be a -n or --dry-run command-line option to skip this.
-foreach {action} $shared_lib_actions {
+foreach {action} $shared_lib_name_actions {
     lassign $action cmd from to
     switch -exact -- $cmd \
         rm {



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits