SOURCES (LINUX_2_6): kernel-config.py - allow / and - in val
arekm
arekm at pld-linux.org
Fri Jan 18 18:21:15 CET 2008
Author: arekm Date: Fri Jan 18 17:21:15 2008 GMT
Module: SOURCES Tag: LINUX_2_6
---- Log message:
- allow / and - in val
---- Files affected:
SOURCES:
kernel-config.py (1.2 -> 1.2.2.1)
---- Diffs:
================================================================
Index: SOURCES/kernel-config.py
diff -u SOURCES/kernel-config.py:1.2 SOURCES/kernel-config.py:1.2.2.1
--- SOURCES/kernel-config.py:1.2 Sun Oct 28 20:44:07 2007
+++ SOURCES/kernel-config.py Fri Jan 18 18:21:09 2008
@@ -122,7 +122,7 @@
cfg += "CONFIG_%s=m\n" % key
elif val == "n":
cfg += "# CONFIG_%s is not set\n" % key
- elif re.compile('^[a-zA-Z0-9"\-]+$').match(val):
+ elif re.compile('^[a-zA-Z0-9"\_\/\-]+$').match(val):
cfg += "CONFIG_%s=%s\n" % (key, val)
else:
print "Unknown value [%s] for key: %s" % (val, key)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/kernel-config.py?r1=1.2&r2=1.2.2.1&f=u
More information about the pld-cvs-commit
mailing list