summaryrefslogtreecommitdiff
path: root/development/atom/customBuild.diff
blob: 82222b73b11f097ac722f5efa994e351debf091d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Naur atom-0.99.0/build/Gruntfile.coffee atom-0.99.0.a/build/Gruntfile.coffee
--- atom-0.99.0/build/Gruntfile.coffee	2014-05-23 15:00:33.000000000 -0600
+++ atom-0.99.0.a/build/Gruntfile.coffee	2014-05-26 14:12:39.212928087 -0600
@@ -36,7 +36,7 @@
     grunt.log.write = (args...) -> grunt.log
 
   [major, minor, patch] = packageJson.version.split('.')
-  tmpDir = os.tmpdir()
+  tmpDir = process.env.BUILD_DIR ? os.tmpdir()
   appName = if process.platform is 'darwin' then 'Atom.app' else 'Atom'
   buildDir = grunt.option('build-dir') ? path.join(tmpDir, 'atom-build')
   atomShellDownloadDir = path.join(os.tmpdir(), 'atom-cached-atom-shells')