diff --git a/build/Gruntfile.coffee b/build/Gruntfile.coffee index 46be02c7a..c5d161b91 100644 --- a/build/Gruntfile.coffee +++ b/build/Gruntfile.coffee @@ -39,6 +39,7 @@ module.exports = (grunt) -> tmpDir = os.tmpdir() appName = if process.platform is 'darwin' then 'Atom.app' else 'Atom' buildDir = grunt.option('build-dir') ? path.join(tmpDir, 'atom-build') + buildDir = path.resolve(buildDir) installDir = grunt.option('install-dir') home = if process.platform is 'win32' then process.env.USERPROFILE else process.env.HOME @@ -62,7 +63,6 @@ module.exports = (grunt) -> installDir ?= process.env.INSTALL_PREFIX ? '/usr/local' killCommand ='pkill -9 atom' - buildDir = path.resolve(buildDir) installDir = path.resolve(installDir) coffeeConfig =