CVS: theedge/var/lib/lunar/functions messages.lunar, 1.9, 1.10 tracking.lunar, 1.4, 1.5

sofar at lunar-linux.org sofar at lunar-linux.org
Mon Jul 28 21:51:53 GMT 2003


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

Modified Files:
	messages.lunar tracking.lunar 
Log Message:
adding uniformly the --debug option. If you specify it twice it will dump VARs (and BTW make a huge mess in /tmp too). small oops in create_install_logs. rewrite of lrm to make it look like someone paid attention.

QOTD:
Be careful when you bite into your hamburger.
                -- Derek Bok


Index: messages.lunar
===================================================================
RCS file: /var/cvs/lunar/theedge/var/lib/lunar/functions/messages.lunar,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- messages.lunar	28 Jul 2003 20:29:20 -0000	1.9
+++ messages.lunar	28 Jul 2003 21:51:51 -0000	1.10
@@ -45,6 +45,15 @@
 debug_msg() {
   if [ -n "$LUNAR_DEBUG" ] ; then
     echo "++ $@" > /dev/stderr
+    if [ "$LUNAR_DEBUG" -ge "2" ] ; then
+      echo "++ $@" >> /tmp/lp_debuglog.$$
+      if [ -f /tmp/l_debug_var.$$ ] ; then
+        mv /tmp/l_debug_var.$$ /tmp/l_debug_var.$$.old
+      fi 
+      set | grep '^[A-Z]' | sed 's/^/VAR /' > /tmp/l_debug_var.$$
+      diff -U0 /tmp/l_debug_var.$$.old /tmp/l_debug_var.$$ | \
+          grep -v "^@@" | grep "VAR" | tee -a /tmp/lp_debuglog.$$ > /dev/stderr
+    fi
   fi
 }
 

Index: tracking.lunar
===================================================================
RCS file: /var/cvs/lunar/theedge/var/lib/lunar/functions/tracking.lunar,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- tracking.lunar	28 Jul 2003 20:29:20 -0000	1.4
+++ tracking.lunar	28 Jul 2003 21:51:51 -0000	1.5
@@ -84,9 +84,6 @@
   filter  "$LOCAL_EXCLUDED"  |
   exists                     >  $TMP_INST_LOG
 
-  if [ "$ARCHIVE" == "on" ] ; then
-    echo "$INSTALL_CACHE/$MODULE-$VERSION-$BUILD.tar.bz2" >> $TMP_INST_LOG
-  fi
   echo "$INSTALL_LOGS/$MODULE-$VERSION"                 >> $TMP_INST_LOG
   echo "$COMPILE_LOGS/$MODULE-$VERSION.bz2"             >> $TMP_INST_LOG
   echo "$MD5SUM_LOGS/$MODULE-$VERSION"                  >> $TMP_INST_LOG




More information about the Lunar-commits mailing list