IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 20, 2013, 6:17:32 PM (13 years ago)
Author:
watersc1
Message:

I'm going to commit before I start moving everything around so that they're sane.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippm/FilesMonitoring/generate_tables.py

    r35945 r35984  
    22
    33letters = '0123456789abcdef'
     4share_directory = "%s/%s/share/filemon/" % (os.environ['PSCONFDIR'], os.environ['PSCONFIG'])
    45
    56nodes = []
    6 nodesFile = open('/home/panstarrs/schastel/local/share/ippMhpccStorageNodes')
     7nodesFile = open('%s/ippMhpccStorageNodes' % share_directory)
    78for line in nodesFile:
    89    nodes.append(line[:-1])
     
    1011
    1112template = ""
    12 templateFile = open('sql/CreateTablesTemplate.sql')
     13templateFile = open('%s/sql/CreateTablesTemplate.sql' % share_directory)
    1314for line in templateFile:
    1415    template = "%s%s" % (template, line)
Note: See TracChangeset for help on using the changeset viewer.