From 6fe60a1c94b48c09255577251f0c72ea347e80e5 Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Mon, 12 Dec 2016 12:00:31 +0200 Subject: [PATCH] Path needs to be absolute --- builders/windows-builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builders/windows-builder.py b/builders/windows-builder.py index 010c091..3deca37 100644 --- a/builders/windows-builder.py +++ b/builders/windows-builder.py @@ -226,7 +226,7 @@ class WindowsBuilder(Builder): self._run_command([self.portableinstaller_exe, self.portable_dest_path], 'Error running PortableApps Installer') 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)) if os.path.exists(portable_exe_path): move(portable_exe_path, os.path.join(self.dist_path, portable_exe_name))