Fix issue #6466 by using full path to atom

This commit is contained in:
Dean Brettle
2015-04-22 00:55:17 -07:00
parent ecd0444643
commit e96376121d

View File

@@ -33,7 +33,7 @@ module.exports = (grunt) ->
installDir = grunt.config.get('atom.installDir')
shareDir = path.join(installDir, 'share', 'atom')
iconName = 'atom'
executable = 'atom'
executable = path.join(shareDir, 'atom')
data = {name, version, description, installDir, iconName, executable}
specFilePath = fillTemplate(path.join('resources', 'linux', 'redhat', 'atom.spec'), data)