From 4b0e0300ad5abb9d5b9c342a0ac54eb40d0e58d0 Mon Sep 17 00:00:00 2001 From: blitzmann Date: Tue, 2 Dec 2014 02:48:50 -0500 Subject: [PATCH] Fix path for .git directory --- scripts/dist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dist.py b/scripts/dist.py index d3eb3274c..8fe632255 100755 --- a/scripts/dist.py +++ b/scripts/dist.py @@ -86,7 +86,7 @@ if __name__ == "__main__": git = False if pyfaconfig.tag.lower() == "git": try: # if there is a git repo associated with base, use master commit - with open(os.path.join(options.base,"..",".git","refs","heads","master"), 'r') as f: + with open(os.path.join(options.base,".git","refs","heads","master"), 'r') as f: id = f.readline()[0:6] git = True except: # else, use custom ID