Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 5edcdc2

Browse files
Fix some folder copy options for Windows
When generating "copy" commands, Gyp will use "copy" rather than "xcopy" if the path doesn't end in '/', causing problems when trying to copy a folder rather than a file.
1 parent 73f46e4 commit 5edcdc2

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

engine/lcb-modules.gyp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
{
2525
'dist_aux_files':
2626
[
27-
'<(PRODUCT_DIR)/modules',
27+
# Gyp will only use a recursive xcopy on Windows if the path ends with '/'
28+
'<(PRODUCT_DIR)/modules/',
2829
],
2930
},
3031
},

extensions/extensions.gyp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@
5151
{
5252
'dist_aux_files':
5353
[
54-
'<(PRODUCT_DIR)/packaged_extensions',
54+
# Gyp will only use a recursive xcopy on Windows if the path ends with '/'
55+
'<(PRODUCT_DIR)/packaged_extensions/',
5556
],
5657
},
5758
},

0 commit comments

Comments
 (0)