From d05a3f370eb7a916ea782b4252e074f6590ffca4 Mon Sep 17 00:00:00 2001 From: Ethan Estrada Date: Wed, 4 Feb 2015 11:20:52 -0700 Subject: [PATCH] Have atom.desktop use PATH to find executable Currently for RPM build only. --- build/tasks/mkrpm-task.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/tasks/mkrpm-task.coffee b/build/tasks/mkrpm-task.coffee index cd4e297f1..8cec64196 100644 --- a/build/tasks/mkrpm-task.coffee +++ b/build/tasks/mkrpm-task.coffee @@ -33,7 +33,7 @@ module.exports = (grunt) -> installDir = grunt.config.get('atom.installDir') shareDir = path.join(installDir, 'share', 'atom') iconName = path.join(shareDir, 'resources', 'app', 'resources', 'atom.png') - executable = path.join(shareDir, 'atom') + executable = 'atom' data = {name, version, description, installDir, iconName, executable} specFilePath = fillTemplate(path.join('resources', 'linux', 'redhat', 'atom.spec'), data)