Skip to content

Commit

Permalink
Merge pull request #9197 from ypbnv/TIMOB-24941
Browse files Browse the repository at this point in the history
[TIMOB-24941] Android: Fix /modules packaging on Android.
  • Loading branch information
cb1kenobi committed Jul 6, 2017
2 parents 4d4d643 + edcdf01 commit b298487
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/android.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ Android.prototype.package = function (packager, next) {
},
// Copy over module resources
function (cb) {
fs.copy(DIST_ANDROID, ANDROID_MODULES, { filter: /\/android(\/titanium\-(.+)?\.(jar|res\.zip|respackage))?$/ }, cb);
var filterRegExp = new RegExp('\\' + path.sep + 'android(\\' + path.sep + 'titanium\-(.+)?\.(jar|res\.zip|respackage))?$');
fs.copy(DIST_ANDROID, ANDROID_MODULES, { filter: filterRegExp}, cb);
}
], next);
};
Expand Down

0 comments on commit b298487

Please sign in to comment.