summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2024-04-10 14:48:26 -0500
committerDaniil Baturin <daniil@vyos.io>2024-04-14 13:33:46 +0000
commited7bcbd0dbe496cee725136a86ac19f4370d482f (patch)
tree83822c096b7dd9b7aa5ace7bdd7a1cc0ef3db2c2 /scripts
parent72c7c7ff99b86bb3c65b44f69e05cf40cb8367c0 (diff)
downloadvyos-build-ed7bcbd0dbe496cee725136a86ac19f4370d482f.tar.gz
vyos-build-ed7bcbd0dbe496cee725136a86ac19f4370d482f.zip
fix path to versions file
Signed-off-by: Daniil Baturin <daniil@vyos.io>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/image-build/build-vyos-image2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/image-build/build-vyos-image b/scripts/image-build/build-vyos-image
index c852694d..68b1f743 100755
--- a/scripts/image-build/build-vyos-image
+++ b/scripts/image-build/build-vyos-image
@@ -368,7 +368,7 @@ if __name__ == "__main__":
raise ValueError("git branch could not be determined")
# Load the branch to version mapping file
- with open('data/versions') as f:
+ with open('../data/versions') as f:
version_mapping = json.load(f)
branch_version = version_mapping[git_branch]