summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhillip Lord <phillip.lord@russet.org.uk>2019-09-18 17:51:22 +0100
committerPhillip Lord <phillip.lord@russet.org.uk>2019-09-18 17:51:22 +0100
commitf24cda3637dd7205b46a39161ab68ddd7edc0821 (patch)
tree0ff79a2d44c925eee38ad4182576c12d8d4e09ef
parent3082e0262a18d05d108f4528fff5d312e6cf0f47 (diff)
downloademacs-f24cda3637dd7205b46a39161ab68ddd7edc0821.tar.gz
Path fixes
-rwxr-xr-xadmin/nt/dist-build/build-dep-zips.py7
1 files 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(