From b899ae62a656e3e7e325bd3dca16e544e3617136 Mon Sep 17 00:00:00 2001 From: fly Date: Tue, 26 Jan 2021 21:30:15 +0000 Subject: [PATCH] osm2city path prefix removed Signed-off-by: fly --- worldbuild-packager.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/worldbuild-packager.py b/worldbuild-packager.py index 10fe7c2..76a8933 100755 --- a/worldbuild-packager.py +++ b/worldbuild-packager.py @@ -103,9 +103,9 @@ def update_parent_index(base, path, changed_dir): index = {} index["version"] = 1 if path != "": - index["path"] = "osm2city/" + path + index["path"] = path else: - index["path"] = "osm2city" + index["path"] = "" sha = get_sha1(base + "/" + path + "/" + changed_dir + "/.dirindex") if sha != None: @@ -120,7 +120,7 @@ def update_index(output, part, name, name_major): else: index = {} index["version"] = 1 - index["path"] = "osm2city/" + part + "/" + name_major + index["path"] = part + "/" + name_major sha = get_sha1(output + "/" + part + "/" + name_major + "/" + name + ".txz") if sha != None: