[Lunar-commits] CVS: theedge/sbin lin,1.76,1.77

Auke Kok sofar at lunar-linux.org
Fri Apr 16 10:15:24 GMT 2004


Update of /var/cvs/lunar/theedge/sbin
In directory dbguin.lunar-linux.org:/tmp/cvs-serv14989/sbin

Modified Files:
	lin 
Log Message:
Adding adjustment suggested by jazman


Index: lin
===================================================================
RCS file: /var/cvs/lunar/theedge/sbin/lin,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -d -r1.76 -r1.77
--- lin	21 Mar 2004 20:51:44 -0000	1.76
+++ lin	16 Apr 2004 10:15:22 -0000	1.77
@@ -106,16 +106,16 @@
     # this runs as a background process, so we are off to step #3 right away
     if [ -z "$DEPS_ONLY" ] ; then
       verbose_msg "Spawning download manager"
-      need_source() {(
+      need_source() {
         for DEP in $(grep ^$1: $DEPENDS_STATUS | grep :on: | cut -d: -f2) ; do
-	need_source $DEP
-	  if ! module_installed $DEP ; then 
+          if ! module_installed $DEP ; then
+	    need_source $DEP
 	    echo $DEP
 	  fi
 	done
-      )}
-      for MODULE in $MODULES ; do
-        LIST="$(need_source $MODULE | uniq) $LIST"
+      }
+      for M in $MODULES ; do
+        LIST="$(need_source $M | uniq) $LIST"
       done
       verbose_msg "download queue: $LIST $MODULES"
       lget $LIST $MODULES >> $TEMP_DOWNLOADLOG 2>&1 &



More information about the Lunar-commits mailing list