Commit 4da133d9 authored by Robin Sonnabend's avatar Robin Sonnabend

Make package_dir absolute

parent cbb9a787
Pipeline #579 passed with stage
in 10 minutes and 49 seconds
......@@ -101,6 +101,7 @@ def build_package(repo_dir, package_dir, name,
for entry in _get_log_entries():
run_checked(command + [entry])
print("building")
command = ["apt-get", "build-dep", "-y", name]
run_checked(command)
......@@ -112,6 +113,7 @@ def build_package(repo_dir, package_dir, name,
for filename in os.listdir(tempdir)
if filename.endswith(".deb")
]
print("deb packages:", deb_packages)
for filename in os.listdir(tempdir):
if not filename.endswith(".deb"):
continue
......@@ -130,7 +132,7 @@ def main():
if mail:
os.environ["DEBEMAIL"] = mail
package_dir = "packages"
package_dir = os.path.join(repo_dir, "packages")
os.makedirs(package_dir, exist_ok=True)
for package in config["packages"]:
......
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