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

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

@ -566,18 +566,18 @@ class WindowsBuilder(object):
""" """
self._print(u'Running PortableApps Builder...') self._print(u'Running PortableApps Builder...')
self._print(u' Clearing old files') self._print(u' Clearing old files')
# Remove previous contents of portableapp build directory. # Remove previous contents of portableapp build directory.
if os.path.exists(self.portable_path): if os.path.exists(self.portable_path):
rmtree(self.portable_path) rmtree(self.portable_path)
self._print(u' Creating PortableApps build directory')
# Copy the contents of the OpenLPPortable directory to the portable # Copy the contents of the OpenLPPortable directory to the portable
# build directory. # build directory.
self._print(u' Creating PortableApps build directory')
dir_util.copy_tree(os.path.join(self.script_path, u'OpenLPPortable'), dir_util.copy_tree(os.path.join(self.script_path, u'OpenLPPortable'),
self.portable_path) self.portable_path)
self.check_portableapp_directory() self.check_portableapp_directory()
self.create_portableapps_appinfo_file() self.create_portableapps_appinfo_file()
self._print(u' Copying distribution files')
# Copy distribution files to portableapp build directory. # 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') portable_app_path = os.path.join(self.portable_path, u'App', u'OpenLP')
dir_util.copy_tree(self.dist_path, portable_app_path) dir_util.copy_tree(self.dist_path, portable_app_path)
# Copy help files to portableapp build directory. # Copy help files to portableapp build directory.