Skip to content

Commit 4900c9a

Browse files
fix bug with repeated arch names
1 parent 48a84a8 commit 4900c9a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gen_data/gen-update-json.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import arch
66

77
GIT_ROOT = os.popen("git rev-parse --show-toplevel").read().strip()
8-
DIR = "fs-cook/out"
8+
DIR = "."
99
VERBOSE = False
1010
JSON_CONF = f"{GIT_ROOT}/distro-data.json"
1111

gen_data/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def resolv_data(
6868
add_varient(json_data, suite, variant, Name, FriendlyName)
6969

7070
for arc in arch:
71-
if arch not in json_data[suite][variant]["arch"]:
71+
if arc not in json_data[suite][variant]["arch"]:
7272
add_arch(json_data, suite, variant, arc)
7373

7474
return json_data

0 commit comments

Comments
 (0)