Skip to content
Snippets Groups Projects
Commit c763c43f authored by Tim Jaacks's avatar Tim Jaacks
Browse files

alphaplan_fwr: change variable "release_name_local" to "release_name"

Otherwise it can be assumed that it might be correlated with
outputdir_local, which is not the case.
parent 2d8d26a5
No related branches found
No related tags found
1 merge request!214alphaplan_fwr: change variable "release_name_local" to "release_name"
Pipeline #32854 skipped with stage
...@@ -303,12 +303,12 @@ def main(): ...@@ -303,12 +303,12 @@ def main():
artifacts_all.append("BUILD_SRCREVS.log") artifacts_all.append("BUILD_SRCREVS.log")
if version.startswith("fngsystem"): if version.startswith("fngsystem"):
release_name_local = version.replace("fngsystem", "FNGSystem") release_name = version.replace("fngsystem", "FNGSystem")
else: else:
release_name_local = "Yocto-%s" % version release_name = "Yocto-%s" % version
output_dir = os.path.join(args.outputdir_upload, release_name_local) output_dir = os.path.join(args.outputdir_upload, release_name)
outlocal_dir = os.path.join(args.outputdir_local, release_name_local) outlocal_dir = os.path.join(args.outputdir_local, release_name)
if not os.path.isdir(outlocal_dir): if not os.path.isdir(outlocal_dir):
sys.exit("ERROR: ouputdir-local does not exist") sys.exit("ERROR: ouputdir-local does not exist")
if not os.path.isdir(output_dir): if not os.path.isdir(output_dir):
...@@ -329,7 +329,7 @@ def main(): ...@@ -329,7 +329,7 @@ def main():
output_dir, output_dir,
outlocal_dir, outlocal_dir,
machine, machine,
release_name_local, release_name,
artifacts_all, artifacts_all,
md5sums, md5sums,
) )
......
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