Skip to content

Commit

Permalink
Merge pull request #46 from akien-mga/fix-copy_bcl-desktop-win32
Browse files Browse the repository at this point in the history
bcl: Fix copy_bcl for desktop-win32 profile
  • Loading branch information
akien-mga authored Jul 27, 2021
2 parents c3a9d31 + fb6da04 commit 2bf7d71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desktop.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def copy_bcl(opts: DesktopOpts, product: str, target_platform: str, target: str)
from distutils.dir_util import copy_tree
from bcl import get_profile_install_dirs
dest_dir = path_join(opts.install_dir, '%s-%s-%s' % (product, target, opts.configuration), 'lib/mono/4.5')
for src_dir in get_profile_install_dirs(opts, 'desktop'):
for src_dir in get_profile_install_dirs(opts, 'desktop-win32' if target_platform == 'windows' else 'desktop'):
if not os.path.isdir(src_dir):
raise BuildError('BCL source directory does not exist: %s. The BCL must be built prior to this.' % src_dir)
copy_tree(src_dir, dest_dir)
Expand Down

0 comments on commit 2bf7d71

Please sign in to comment.