make match condition in copy:builds work cross-platform

This commit is contained in:
ccd0 2014-09-28 13:53:42 -07:00
parent c471ed09af
commit 74cff28c53

View File

@ -105,7 +105,7 @@ module.exports = (grunt) ->
expand: true
filter: (src) ->
pkg = grunt.config 'pkg'
grunt.file.isFile(src) and src isnt "testbuilds/#{pkg.name}#{pkg.meta.suffix.dev}.user.js"
grunt.file.isFile(src) and !grunt.file.isMatch(src, "testbuilds/#{pkg.name}#{pkg.meta.suffix.dev}.user.js")
coffee:
script: