Update of /cvsroot/leaf/src/bering-uclibc/apps/modules
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv19557

Modified Files:
        buildtool.cfg modutils 
Log Message:
fix indentation while parsing /etc/modules
(thx to Gordon Bos for teh code snippet)


Index: modutils
===================================================================
RCS file: /cvsroot/leaf/src/bering-uclibc/apps/modules/modutils,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** modutils    30 Oct 2006 21:25:17 -0000      1.2
--- modutils    28 Apr 2009 18:59:04 -0000      1.3
***************
*** 14,18 ****
  # Loop over every line in /etc/modules.
  echo 'Loading modules: '
! grep ^[a-z0-9A-Z] /etc/modules |
  while read module args
  do
--- 14,21 ----
  # Loop over every line in /etc/modules.
  echo 'Loading modules: '
! 
! cut -d'#' -f1 /etc/modules | 
! grep -v '^[[:space:]]*$' | 
! 
  while read module args
  do

Index: buildtool.cfg
===================================================================
RCS file: /cvsroot/leaf/src/bering-uclibc/apps/modules/buildtool.cfg,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** buildtool.cfg       30 Oct 2006 21:27:11 -0000      1.4
--- buildtool.cfg       28 Apr 2009 18:59:04 -0000      1.5
***************
*** 20,24 ****
        <modules>
                        Version  = 2.4.x
!                       Revision = 5
  
                        Help <<EOF
--- 20,24 ----
        <modules>
                        Version  = 2.4.x
!                       Revision = 6
  
                        Help <<EOF


------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
leaf-cvs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits

Reply via email to