Minor fixes

This commit is contained in:
ElderP 2012-06-25 12:38:21 -04:00
parent 422d9bd7e5
commit 7c6b595a42
4 changed files with 6 additions and 6 deletions

View File

@ -569,15 +569,15 @@ class WindowsBuilder(object):
# Remove previous contents of portableapp build directory.
if os.path.exists(self.portable_path):
rmtree(self.portable_path)
self._print(u' Creating PortableApps build directory')
# Copy the contents of the OpenLPPortable directory to the portable
# build directory.
self._print(u' Creating PortableApps build directory')
dir_util.copy_tree(os.path.join(self.script_path, u'OpenLPPortable'),
self.portable_path)
self.check_portableapp_directory()
self.create_portableapps_appinfo_file()
self._print(u' Copying distribution files')
# Copy distribution files to portableapp build directory.
self._print(u' Copying distribution files')
portable_app_path = os.path.join(self.portable_path, u'App', u'OpenLP')
dir_util.copy_tree(self.dist_path, portable_app_path)
# Copy help files to portableapp build directory.