Commit 324e3fee authored by JC Brand's avatar JC Brand

Merge pull request #369 from theoziran/master

Fixing when the path has space, it closes #368
parents c195d905 8edb4549
...@@ -122,7 +122,7 @@ module.exports = function(grunt) { ...@@ -122,7 +122,7 @@ module.exports = function(grunt) {
done(); done();
}; };
var rjsext = (process.platform === 'win32') ? '.cmd' : ''; 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 && ' + exec(rjs + ' -o src/build.js && ' +
rjs + ' -o src/build.js optimize=none out=builds/converse.js && ' + rjs + ' -o src/build.js optimize=none out=builds/converse.js && ' +
rjs + ' -o src/build-no-jquery.js &&' + rjs + ' -o src/build-no-jquery.js &&' +
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment