Skip to content

Commit

Permalink
Merge pull request #5130 from cb1kenobi/timob-16003_3_2_X
Browse files Browse the repository at this point in the history
[TIMOB-16003] Fixed bug with leading slash not properly being stripped o...
  • Loading branch information
ayeung committed Dec 17, 2013
2 parents 45793a1 + 8adf208 commit 7a60302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android/cli/commands/_build.js
Original file line number Diff line number Diff line change
Expand Up @@ -2183,7 +2183,7 @@ AndroidBuilder.prototype.copyResources = function copyResources(next) {
// we have a file, now we need to see what sort of file

// check if it's a drawable resource
var relPath = from.replace(opts.origSrc, '').replace(/^\//, '').replace(/\\/g, '/'),
var relPath = from.replace(opts.origSrc, '').replace(/\\/g, '/').replace(/^\//, ''),
m = relPath.match(drawableRegExp),
isDrawable = false;
if (m && m.length >= 4) {
Expand Down

0 comments on commit 7a60302

Please sign in to comment.