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

create folder before copying font

This commit is contained in:
Tomas Groth 2019-02-17 22:23:18 +01:00
parent 80eef6fc5b
commit 815ef71a54

View File

@ -378,7 +378,9 @@ class Builder(object):
"""
self._print('Copying OpenLP font...')
source = os.path.join(self.source_path, 'core', 'ui', 'fonts', 'OpenLP.ttf')
dest = os.path.join(self.dist_path, 'core', 'ui', 'fonts', 'OpenLP.ttf')
dest_dir = os.path.join(self.dist_path, 'core', 'ui', 'fonts')
dest = os.path.join(self.dest_dir, 'OpenLP.ttf')
os.makedirs(dest_dir)
copy(source, dest)
def copy_extra_files(self):