Fix invalid path references after moving tools & scripts
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
import os
|
||||
CURRENT_DIR = os.path.abspath(os.path.dirname(__file__))
|
||||
SOURCE_DIR = os.path.normpath(os.path.abspath(os.path.normpath(os.path.join(CURRENT_DIR, "..", "..", ".."))))
|
||||
SOURCE_DIR = os.path.normpath(os.path.abspath(os.path.normpath(os.path.join(CURRENT_DIR, "..", ".."))))
|
||||
|
||||
print("creating git-log of %r" % SOURCE_DIR)
|
||||
os.chdir(SOURCE_DIR)
|
||||
|
||||
@@ -14,7 +14,7 @@ import sys
|
||||
import os
|
||||
|
||||
MODULE_DIR = os.path.normpath(os.path.join(os.path.dirname(__file__), "..", "utils"))
|
||||
SOURCE_DIR = os.path.normpath(os.path.join(MODULE_DIR, "..", "..", "..", ".git"))
|
||||
SOURCE_DIR = os.path.normpath(os.path.join(MODULE_DIR, "..", "..", ".git"))
|
||||
|
||||
sys.path.append(MODULE_DIR)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user