[Lunar-commits] CVS: theedge/var/lib/lunar/functions main.lunar, 1.11, 1.12

Auke Kok sofar at lunar-linux.org
Sat Apr 24 15:45:54 GMT 2004


Update of /var/cvs/lunar/theedge/var/lib/lunar/functions
In directory dbguin.lunar-linux.org:/tmp/cvs-serv29731/var/lib/lunar/functions

Modified Files:
	main.lunar 
Log Message:
Moe: I really don't like the workaround you used for the download procedure .. theedge is lget'ed twice f.e. [FIXED]


Index: main.lunar
===================================================================
RCS file: /var/cvs/lunar/theedge/var/lib/lunar/functions/main.lunar,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- main.lunar	16 Apr 2004 10:57:58 -0000	1.11
+++ main.lunar	24 Apr 2004 15:45:52 -0000	1.12
@@ -206,7 +206,12 @@
   show_downloading            &&
 
   # last minute source code presence check:
-  download_module $MODULE     &&
+  for SOURCE in $(sources $MODULE) ; do
+    if [ ! -f $SOURCE_CACHE/$SOURCE ] ; then
+      download_module $MODULE
+      break
+    fi
+  done                        &&
 
   # now entering the physical BUILD stage
   if ! current_locked && ! solo_locked ; then



More information about the Lunar-commits mailing list