Changeset 8948 in genesis for tools


Ignore:
Timestamp:
Mar 14, 2011, 7:02:50 PM (14 years ago)
Author:
rick
Message:

Get PATH directory right.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/gformat.py

    r8867 r8948  
    3535 
    3636
    37 NODE_DIR = os.path.dirname(__file__) + '/../nodes'
     37if os.environ.has_key('CONFIGROOT'):
     38  NODE_DIR = os.environ['CONFIGROOT']
     39else:
     40  NODE_DIR = os.path.dirname(__file__) + '/../nodes'
    3841__version__ = '$Id$'
    3942
Note: See TracChangeset for help on using the changeset viewer.