From f24cda3637dd7205b46a39161ab68ddd7edc0821 Mon Sep 17 00:00:00 2001 From: Phillip Lord Date: Wed, 18 Sep 2019 17:51:22 +0100 Subject: [PATCH] Path fixes --- admin/nt/dist-build/build-dep-zips.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/admin/nt/dist-build/build-dep-zips.py b/admin/nt/dist-build/build-dep-zips.py index b0a999a1bf4..f2fe59932ba 100755 --- a/admin/nt/dist-build/build-dep-zips.py +++ b/admin/nt/dist-build/build-dep-zips.py @@ -145,10 +145,11 @@ def gather_deps(deps, arch, directory): def download_source(tarball): print("Acquiring {}...".format(tarball)) - if os.path.exists("./emacs-src-old/{}".format(tarball)): + + if os.path.exists("../emacs-src-old/{}".format(tarball)): print("Copying {} from local".format(tarball)) - shutil.copyfile("./emacs-src-old/{}".format(tarball), - "./emacs-src/{}".format(tarball)) + shutil.copyfile("../emacs-src-old/{}".format(tarball), + "{}".format(tarball)) else: print("Downloading {}...".format(tarball)) check_output_maybe( -- 2.39.5