From eb5c97edabf9fe1e34e3f9bd73abc4d27934882f Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Thu, 20 Sep 2012 13:28:05 -0700 Subject: [PATCH] cli interface points to /Application/Atom.app --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 851cd8853..2d2c3dd7b 100644 --- a/Rakefile +++ b/Rakefile @@ -64,7 +64,7 @@ task :install => :build do usr_bin = "/opt/github/bin" if Dir.exists?(usr_bin) cli_path = "#{usr_bin}/atom" - `echo '#!/bin/sh\nopen #{path} -n --args --resource-path="#{ATOM_SRC}" --executed-from="$(pwd)" $@' > #{cli_path} && chmod 755 #{cli_path}` + `echo '#!/bin/sh\nopen #{dest} -n --args --resource-path="#{ATOM_SRC}" --executed-from="$(pwd)" $@' > #{cli_path} && chmod 755 #{cli_path}` else stderr.puts "ERROR: `The Setup` is required to run the atom cli tool" end