[SVN] r2832 (Xcode)
Allan Odgaard
throw-away-1 at macromates.com
Wed Mar 8 03:44:20 UTC 2006
On 7/3/2006, at 22:47, Benoit Gagnon wrote:
> Sounds great... but I get the following error when I try to run
> (Cmd-R), with XC_TARGET_NAME set to "tp2"
>
> sh: -c: line 1: unexpected EOF while looking for matching `"'
> sh: -c: line 3: syntax error: unexpected end of file
> Will try to run target tp2
hmm… try something like below to see what it actually tries to run:
Index: /Users/duff/Library/Application Support/TextMate/Bundles/
Xcode.tmbundle/Support/bin/run_xcode_target.rb
===================================================================
--- /Users/duff/Library/Application Support/TextMate/Bundles/
Xcode.tmbundle/Support/bin/run_xcode_target.rb (revision 2832)
+++ /Users/duff/Library/Application Support/TextMate/Bundles/
Xcode.tmbundle/Support/bin/run_xcode_target.rb (working copy)
@@ -15,6 +15,7 @@
escaped_file = shell_escape(file)
if target['productType'] == 'com.apple.product-type.application'
then
cmd = "cd #{escaped_dir}; env DYLD_FRAMEWORK_PATH=#
{escaped_dir} DYLD_LIBRARY_PATH=#{escaped_dir} open ./#{escaped_file}"
+ puts cmd
%x{#{cmd}}
else
cmd = "clear; cd #{escaped_dir}; env DYLD_FRAMEWORK_PATH=#
{escaped_dir} DYLD_LIBRARY_PATH=#{escaped_dir} ./#{escaped_file};
echo -ne \\\\n\\\\nPress RETURN to Continue...; read foo;"
More information about the textmate-dev
mailing list