Changeset 2727 for icXML


Ignore:
Timestamp:
Dec 4, 2012, 11:02:38 AM (6 years ago)
Author:
cameron
Message:

Add a check for the icXML overrides directory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icXML/icXML-devel/scripts/fix_icxml_imports.py

    r2720 r2727  
    5151        return s
    5252
    53 makefile = re.compile("Makefile.am|Makefile.in|makefile$")
     53makefile = re.compile("Makefile.am|Makefile.in|Makefile$")
    5454
    5555def fix_file(path):
     
    103103                sys.exit()
    104104       
     105        if not os.path.exists(icxml_override_dir):
     106          print "Expecting icXML overrides directory: %s.  Please cd to src." % icxml_override_dir
     107          exit()
     108         
    105109        override_set = read_overrides(icxml_override_dir, '')
    106110       
Note: See TracChangeset for help on using the changeset viewer.