From fc4cb1654cc443b7e960463a0d34ba8eea405b81 Mon Sep 17 00:00:00 2001 From: Cameron Sparr Date: Wed, 24 Feb 2016 09:10:47 -0700 Subject: [PATCH] Fix deb and rpm packages closes #752 closes #750 --- scripts/build.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/build.py b/scripts/build.py index 1465e36f3..df8fbb979 100755 --- a/scripts/build.py +++ b/scripts/build.py @@ -411,8 +411,10 @@ def build_packages(build_output, version, pkg_arch, nightly=False, rc=None, iter for b in targets: if p == 'windows': b = b + '.exe' + to = os.path.join(build_root, b) + else: + to = os.path.join(build_root, INSTALL_ROOT_DIR[1:], b) fr = os.path.join(current_location, b) - to = os.path.join(build_root, b) print("\t- [{}][{}] - Moving from '{}' to '{}'".format(p, a, fr, to)) copy_file(fr, to) # Package the directory structure