slackbuilds_ponce/development/atom/customBuild.diff
DhabyX 3dc59d7816 development/atom: Updated for version 0.99.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2014-05-28 23:45:40 +07:00

12 lines
654 B
Diff

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')