From a40d9bce76574992112531bdd1dfc88a7934440e Mon Sep 17 00:00:00 2001 From: nightwing Date: Sat, 16 Feb 2013 23:06:38 +0400 Subject: [PATCH] exclude files with whitespace in name from the build --- Makefile.dryice.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.dryice.js b/Makefile.dryice.js index 6c2d67db..e5c73ac0 100755 --- a/Makefile.dryice.js +++ b/Makefile.dryice.js @@ -236,7 +236,7 @@ function jsFileList(path, filter) { filter = /_test/; return fs.readdirSync(path).map(function(x) { - if (x.slice(-3) == ".js" && !filter.test(x)) + if (x.slice(-3) == ".js" && !filter.test(x) && !/\s/.test(x)) return x.slice(0, -3); }).filter(function(x){ return !!x }); }