Commit 1a348526 authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

fixup! runner: Fix symlinks on softwareLink

fixup for ecf144ee

current_project variable is mandatory
parent 2699c3bd
...@@ -327,6 +327,8 @@ def config_SR_folder(config): ...@@ -327,6 +327,8 @@ def config_SR_folder(config):
cf.write(current_project + '#' + folder) cf.write(current_project + '#' + folder)
# First create the link for current project # First create the link for current project
with open(os.path.join(config['etc_dir'], ".project")) as f:
current_project = f.read().strip().rstrip('/')
profile = getCurrentSoftwareReleaseProfile(config) profile = getCurrentSoftwareReleaseProfile(config)
name = getSoftwareReleaseName(config) name = getSoftwareReleaseName(config)
md5sum = md5digest(profile) md5sum = md5digest(profile)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment