From 8edb4549660ac26cdd4c4dfe44c6c3b0c7b642a2 Mon Sep 17 00:00:00 2001 From: Theoziran Lima Date: Tue, 14 Apr 2015 17:23:32 -0300 Subject: [PATCH] Fixing when the path has space, it closes #368 --- Gruntfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index fa472be3e..fb57e67ce 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -122,7 +122,7 @@ module.exports = function(grunt) { done(); }; var rjsext = (process.platform === 'win32') ? '.cmd' : ''; - var rjs = path.resolve('./node_modules/.bin/r.js' + rjsext); + var rjs = '"' + path.resolve('./node_modules/.bin/r.js' + rjsext) + '"'; exec(rjs + ' -o src/build.js && ' + rjs + ' -o src/build.js optimize=none out=builds/converse.js && ' + rjs + ' -o src/build-no-jquery.js &&' +