From 475fd07790c2f70d74a47f79caa07fe68c16ea65 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 24 Sep 2014 09:48:56 -0700 Subject: [PATCH] Resolve buildDir before it is used in other join calls --- build/Gruntfile.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 =