Browse files

Converting the rest of the “Run” commands to #!. None of the Run Scri…

…pt commands source anymore.

git-svn-id: dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
1 parent c7989f8 commit e018fdb51deeb595dc743e4d78731885621e18d1 @lasersox lasersox committed Nov 3, 2009
Showing with 3 additions and 2 deletions.
  1. +3 −2 Commands/Run Script.tmCommand
5 Commands/Run Script.tmCommand
@@ -5,14 +5,15 @@
- <string>$(type -p "${TM_RUBY:-ruby}") -e'
+ <string>#!/usr/bin/env ruby
require ENV["TM_SUPPORT_PATH"] + "/lib/tm/executor"
require ENV["TM_SUPPORT_PATH"] + "/lib/tm/save_current_document"
TextMate::Executor.make_project_master_current_document["TM_IO"] || "io", ENV["TM_FILEPATH"], :version_args =&gt; ["2&gt;&amp;1", "&lt;&lt;&lt; \"System version; System exit;\""])'&lt;&amp;0</string>["TM_IO"] || "io", ENV["TM_FILEPATH"], :version_args =&gt; ["2&gt;&amp;1", '&lt;&lt;&lt; "System version; System exit;"'])

0 comments on commit e018fdb

Please sign in to comment.