[Fai-commit] r6660 - trunk/lib

Michael Tautschnig mt at alioth.debian.org
Sun Sep 11 19:14:15 UTC 2011


Author: mt
Date: 2011-09-11 19:14:14 +0000 (Sun, 11 Sep 2011)
New Revision: 6660

Modified:
   trunk/lib/subroutines
Log:
Require nonempty variable name as suggested by Thomas


Modified: trunk/lib/subroutines
===================================================================
--- trunk/lib/subroutines	2011-09-10 21:39:39 UTC (rev 6659)
+++ trunk/lib/subroutines	2011-09-11 19:14:14 UTC (rev 6660)
@@ -701,7 +701,7 @@
     uname -rsmo
     echo -n "Kernel parameters: "; cat /proc/cmdline
     for word in $(cat /proc/cmdline) ; do
-      if echo "$word" | egrep -q '^[a-zA-Z0-9_]*=' ; then
+      if echo "$word" | egrep -q '^[a-zA-Z0-9_]+=' ; then
 		eval "export $word"
       fi
     done




More information about the Fai-commit mailing list