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

Moritz Heiber moe at lunar-linux.org
Wed Mar 9 13:23:48 UTC 2005


Update of /var/cvs/lunar/theedge/var/lib/lunar/functions
In directory espresso.foo-projects.org:/tmp/cvs-serv3889

Modified Files:
	prune.lunar 
Log Message:
wheeps .. committed a slightly older version. This is the final solution.


Index: prune.lunar
===================================================================
RCS file: /var/cvs/lunar/theedge/var/lib/lunar/functions/prune.lunar,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- prune.lunar	9 Mar 2005 13:17:50 -0000	1.11
+++ prune.lunar	9 Mar 2005 13:23:46 -0000	1.12
@@ -40,18 +40,18 @@
 
   verbose_msg "finding stale source files"
   for FILE in $(ls -1 $SOURCE_CACHE); do
-    if ! grep -q $(basename $FILE) $TMP_SPOOL_KEEP ; then
-      message "Removing stale source: $FILE"
-      rm -f $FILE      
+    if ! grep -q $FILE $TMP_SPOOL_KEEP ; then
+      message "Removing stale source: $SOURCE_CACHE/$FILE"
+      rm -f $SOURCE_CACHE/$FILE      
     fi
   done
   temp_destroy $TMP_SPOOL_KEEP
 
   verbose_msg "finding stale install caches"
   for FILE in $(ls -1 $INSTALL_CACHE); do
-    if ! grep -q $(basename $FILE) $TMP_CACHE_KEEP ; then
-      message "Removing stale install cache: $FILE"
-      rm -f $FILE
+    if ! grep -q $FILE $TMP_CACHE_KEEP ; then
+      message "Removing stale install cache: $INSTALL_CACHE/$FILE"
+      rm -f $INSTALL_CACHE/$FILE
     fi
   done
   temp_destroy $TMP_CACHE_KEEP



More information about the Lunar-commits mailing list