13040 gen_os_file.py should ignore $(i386_ONLY) and $(sparc_ONLY) tags on "classification" lines
authorRich Burridge <rich.burridge@sun.com>
Thu, 03 Dec 2009 14:04:03 -0800
changeset 1541 deb36ca50ed2
parent 1540 de040c9fd0c0
child 1542 c97893ed7cd4
13040 gen_os_file.py should ignore $(i386_ONLY) and $(sparc_ONLY) tags on "classification" lines
src/util/distro-import/gen_os_files.py
--- a/src/util/distro-import/gen_os_files.py	Thu Dec 03 15:56:02 2009 -0600
+++ b/src/util/distro-import/gen_os_files.py	Thu Dec 03 14:04:03 2009 -0800
@@ -214,7 +214,9 @@
                 except IndexError:
                     pass
 
-            elif line.startswith("classification"):
+            elif line.startswith("classification") or \
+                line.startswith("$(i386_ONLY)classification") or \
+                line.startswith("$(sparc_ONLY)classification"):
                 classification_found = True
                 tokens = line.split(None, 1)[1].strip('"').split("/")
                 try: