[Lunar-commits] CVS: theedge/bin lvu,1.45,1.46

Auke Kok sofar at lunar-linux.org
Mon Mar 15 21:50:53 GMT 2004


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

Modified Files:
	lvu 
Log Message:
meep meep


Index: lvu
===================================================================
RCS file: /var/cvs/lunar/theedge/bin/lvu,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- lvu	15 Mar 2004 21:24:26 -0000	1.45
+++ lvu	15 Mar 2004 21:50:51 -0000	1.46
@@ -565,9 +565,15 @@
 
 
 show_eert() {
+  if [ -n "$SHORTTREE" ] ; then
+    DEPENDS=$DEPENDS_STATUS
+  else
+    DEPENDS=$DEPENDS_CACHE
+  fi
+
   show_rtree() {
     # we need to do an reverse tree for $1
-    RDEPS=$(grep ":$1:" $DEPENDS_CACHE | cut -d: -f1 | sort | uniq)
+    RDEPS=$(grep ":$1:" $DEPENDS | cut -d: -f1 | sort | uniq)
 
     if module_installed $1 ; then
       STR="${INDENT}^----${MODULE_COLOR}$1${DEFAULT_COLOR}: "
@@ -576,7 +582,7 @@
     fi
     
     for DEP in $RDEPS ; do
-      REL=$(grep "^$DEP:$1:" $DEPENDS_CACHE)
+      REL=$(grep "^$DEP:$1:" $DEPENDS)
       CUR=$(echo $REL | cut -d: -f1)
       if echo $REL | grep -q :required: ; then
         if module_installed $DEP ; then



More information about the Lunar-commits mailing list