Link atom.sh instead of copying

This commit is contained in:
Kevin Sawicki 2013-05-16 12:16:30 -07:00
parent b3b7f1ea97
commit 3b35a4b63b

View File

@ -63,8 +63,7 @@ task :install => [:build] do
raise "Missing directory for `atom` binary"
end
FileUtils.cp("#{ATOM_SRC_PATH}/atom.sh", cli_path)
FileUtils.chmod(0755, cli_path)
FileUtils.ln_s "#{ATOM_SRC_PATH}/atom.sh", cli_path, :force => true
Rake::Task["clone-default-bundles"].invoke()