[Lunar-commits] CVS: theedge/var/lib/lunar/functions depends.lunar, 1.47, 1.48

Auke Kok sofar at lunar-linux.org
Tue Mar 15 10:36:59 UTC 2005


Update of /var/cvs/lunar/theedge/var/lib/lunar/functions
In directory espresso.foo-projects.org:/home/sofar/active/theedge/var/lib/lunar/functions

Modified Files:
	depends.lunar 
Log Message:
sanity check: bug #723


Index: depends.lunar
===================================================================
RCS file: /var/cvs/lunar/theedge/var/lib/lunar/functions/depends.lunar,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- depends.lunar	22 Nov 2004 14:40:40 -0000	1.47
+++ depends.lunar	15 Mar 2005 10:36:57 -0000	1.48
@@ -256,9 +256,11 @@
 
   # first recursively check if all required dependencies are installed
   for DEP_MODULE in $(find_depends $MODULE) ; do
-    if ! module_installed $DEP_MODULE ; then
-      if ! SINGLE_MODULE=1 lin $SILENT $COMPILE $DEP_MODULE ; then
-        exit 1
+    if [ $DEP_MODULE != $MODULE ]; then
+      if ! module_installed $DEP_MODULE ; then
+        if ! SINGLE_MODULE=1 lin $SILENT $COMPILE $DEP_MODULE ; then
+          exit 1
+        fi
       fi
     fi
   done



More information about the Lunar-commits mailing list