Changeset af7223b in mainline


Ignore:
Timestamp:
2019-08-17T12:49:43Z (5 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8183b35
Parents:
f69d5a8
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-07-01 11:39:19)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-08-17 12:49:43)
Message:

Fix revision fetching in out of tree config.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/config.py

    rf69d5a8 raf7223b  
    537537
    538538        try:
    539                 version = subprocess.Popen(['git', 'log', '-1', '--pretty=%h'], stdout = subprocess.PIPE).communicate()[0].decode().strip()
     539                version = subprocess.Popen(['git', '-C', os.path.dirname(RULES_FILE), 'log', '-1', '--pretty=%h'], stdout = subprocess.PIPE).communicate()[0].decode().strip()
    540540                sys.stderr.write("ok\n")
    541541        except:
Note: See TracChangeset for help on using the changeset viewer.