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

Merge from remote

This commit is contained in:
Raoul Snyman 2016-12-12 19:48:13 +02:00
commit 8efeae39f1

View File

@ -226,7 +226,7 @@ class WindowsBuilder(Builder):
self._run_command([self.portableinstaller_exe, self.portable_dest_path], self._run_command([self.portableinstaller_exe, self.portable_dest_path],
'Error running PortableApps Installer') 'Error running PortableApps Installer')
portable_exe_name = 'OpenLPPortable_%s.paf.exe' % self.portable_version portable_exe_name = 'OpenLPPortable_%s.paf.exe' % self.portable_version
portable_exe_path = os.path.join(self.portable_dest_path, '..', portable_exe_name) portable_exe_path = os.path.abspath(os.path.join(self.portable_dest_path, '..', portable_exe_name))
self._print_verbose('... Portable Build: {}'.format(portable_exe_path)) self._print_verbose('... Portable Build: {}'.format(portable_exe_path))
if os.path.exists(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))