1
0
mirror of https://gitlab.com/openlp/packaging.git synced 2024-12-22 13:02:50 +00:00

dist_path is weird

This commit is contained in:
Raoul Snyman 2016-12-12 18:43:19 +02:00
parent 19b5a489cf
commit 648afbef34

View File

@ -229,7 +229,7 @@ class WindowsBuilder(Builder):
portable_exe_path = os.path.join(self.portable_dest_path, '..', portable_exe_name)
self._print_verbose('... Portable Build: {}'.format(portable_exe_path))
if os.path.exists(portable_exe_path):
move(portable_exe_path, os.path.join(self.dist_path, portable_exe_name))
move(portable_exe_path, os.path.join(self.dist_path, '..', portable_exe_name))
self._print('PortableApp build complete')
else:
raise Exception('PortableApp failed to build')