From bd96eba5e8bd0091e251a169af2dd10ec20cac3d Mon Sep 17 00:00:00 2001 From: ccd0 Date: Mon, 10 Nov 2014 01:49:24 -0800 Subject: [PATCH] Revert "Revert "make match condition in copy:builds work cross-platform"" This reverts commit 8be82269e28aadf9c7bab93ddb2abf174e2631bd. --- Gruntfile.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gruntfile.coffee b/Gruntfile.coffee index 65902a593..a57a1d5ea 100755 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -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: