[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

X Strike Force SVN commit: rev 613 - trunk/debian



Author: branden
Date: 2003-10-01 10:19:21 -0500 (Wed, 01 Oct 2003)
New Revision: 613

Modified:
   trunk/debian/shell-lib.sh
Log:
Fix stupid forgot-to-assign-a-value-to-the-variable bug.

(cosmetic) Fix an indentation error.

- debian/shell-lib.sh


Modified: trunk/debian/shell-lib.sh
===================================================================
--- trunk/debian/shell-lib.sh	2003-09-30 20:37:33 UTC (rev 612)
+++ trunk/debian/shell-lib.sh	2003-10-01 15:19:21 UTC (rev 613)
@@ -213,6 +213,7 @@
   fi
 
   while [ -n "$1" ]; do
+    symlink="$1"
     if [ -L "$symlink" ]; then
       if [ "$(maplink "$symlink")" != "$(readlink "$symlink")" ]; then
         debugmsg "$symlink symbolic link points to wrong location" \
@@ -255,6 +256,7 @@
 
   while [ -n "$1" ]; do
     problem=
+    symlink="$1"
     if [ -L "$symlink" ]; then
       if [ "$(maplink "$symlink")" != "$(readlink "$symlink")" ]; then
         problem=yes
@@ -348,7 +350,7 @@
         mv "$conffile" "$conffile.$THIS_PACKAGE-tmp"
         break
       fi
-    shift
+      shift
     done
   fi
 }



Reply to: