From 74cff28c5351d255937920fdcab8af91df4673f8 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sun, 28 Sep 2014 13:53:42 -0700 Subject: [PATCH] make match condition in copy:builds work cross-platform --- Gruntfile.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gruntfile.coffee b/Gruntfile.coffee index 4a9572587..6bcbef9b8 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: