[Lunar-commits] CVS: theedge/var/lib/lunar/functions modules.lunar, 1.41, 1.42

Auke Kok sofar at lunar-linux.org
Sat Jun 26 16:41:30 GMT 2004


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

Modified Files:
	modules.lunar 
Log Message:
Fix a bad bug showing way too many modules for a section


Index: modules.lunar
===================================================================
RCS file: /var/cvs/lunar/theedge/var/lib/lunar/functions/modules.lunar,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- modules.lunar	21 May 2004 10:27:13 -0000	1.41
+++ modules.lunar	26 Jun 2004 16:41:28 -0000	1.42
@@ -45,12 +45,12 @@
     exit 1
   fi
 
-  if ! grep -q ":$1" $MODULE_INDEX ; then
+  if ! grep -q ":$1$" $MODULE_INDEX ; then
     error_message "${PROBLEM_COLOR}list_modules(): no such section \"$1\"!${DEFAULT_COLOR}"
     exit 1
   fi
 
-  grep ":$1" $MODULE_INDEX | cut -d: -f1
+  grep ":$1$" $MODULE_INDEX | cut -d: -f1
   return 0
 }
 



More information about the Lunar-commits mailing list