Ignore:
Timestamp:
Aug 23, 2006, 5:11:21 PM (18 years ago)
Author:
duncan
Message:

Hacking compile.py to avoid errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/utilities/compile.py

    r3514 r3526  
    191191      break
    192192
     193  # This is hacky since it
     194  # assumes the location of the compile_all that determines buildroot
    193195  utilities_include_dir = buildroot + os.sep + "source" + os.sep + "anuga" \
    194                           + os.sep + 'utilities'
    195  
    196 
     196                          + os.sep + 'utilities' 
     197  try:
     198    os.stat(utilities_include_dir)
     199  except OSError:
     200    utilities_include_dir = buildroot + os.sep + 'utilities'
     201 
    197202 
    198203 
Note: See TracChangeset for help on using the changeset viewer.