Skip to content
Snippets Groups Projects
Commit 46a89ddf authored by Benedikt Hegner's avatar Benedikt Hegner
Browse files

fix relative path handling of prepare_gaudi_release

parent f46d34fc
No related branches found
No related tags found
1 merge request!101Prepare release v27r0
......@@ -177,9 +177,7 @@ def newmain():
def main():
logging.basicConfig(level=logging.DEBUG)
os.chdir(os.path.dirname(os.path.dirname(__file__)))
os.chdir(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
# Find the version of HEPTools (LCG)
for l in open('toolchain.cmake'):
m = re.match(r'^\s*set\(\s*heptools_version\s+(\S*)\s*\)', l)
......@@ -280,4 +278,3 @@ def main():
if __name__ == '__main__':
checkGitVersion()
main()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment