Fix deb and rpm packages

closes #752
closes #750
This commit is contained in:
Cameron Sparr 2016-02-24 09:10:47 -07:00 committed by Michele Fadda
parent b5134cd6cb
commit 4bc75b87f5
1 changed files with 3 additions and 1 deletions

View File

@ -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'
fr = os.path.join(current_location, b)
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)
print("\t- [{}][{}] - Moving from '{}' to '{}'".format(p, a, fr, to))
copy_file(fr, to)
# Package the directory structure