Author: twittner                     Date: Tue Aug  9 22:01:02 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- unset i at then end (i is used in foreach)

---- Files affected:
SOURCES:
   csh.cshrc (1.7 -> 1.8) , csh.login (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: SOURCES/csh.cshrc
diff -u SOURCES/csh.cshrc:1.7 SOURCES/csh.cshrc:1.8
--- SOURCES/csh.cshrc:1.7       Thu Apr 29 18:24:01 2004
+++ SOURCES/csh.cshrc   Wed Aug 10 00:00:57 2005
@@ -15,10 +15,11 @@
 if ($status == 0) then
        set nonomatch
         foreach i ( /etc/shrc.d/*.csh )
-               test -f $i
-               if ($status == 0) then
-                               source $i
-               endif
+                       test -f $i
+                       if ($status == 0) then
+                       source $i
+                       endif
         end
+               unset i
        unset nonomatch
 endif

================================================================
Index: SOURCES/csh.login
diff -u SOURCES/csh.login:1.10 SOURCES/csh.login:1.11
--- SOURCES/csh.login:1.10      Sun Oct 17 18:55:22 2004
+++ SOURCES/csh.login   Wed Aug 10 00:00:57 2005
@@ -52,4 +52,5 @@
                source $i
        endif
 end
+unset i
 unset nonomatch
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/csh.cshrc?r1=1.7&r2=1.8&f=u
    http://cvs.pld-linux.org/SOURCES/csh.login?r1=1.10&r2=1.11&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to