[TxMt] svn hangs

Jon Evans jon.evans at pobox.com
Sat Sep 2 14:17:25 UTC 2006


Hi Lewis,

On Sat, 02 Sep 2006 01:11:39 +0100, Lewis Overton <akakie at gmail.com> wrote:


> The script is
>
> #!/bin/sh
> cd /Library/Application\ Support/TextMate/
> /usr/local/bin/svn up
> osascript -e '
>
> and has been working for months.

Well, it's broken now. :)  The last line is broken.  The -e flag is for  
passing a command to osascript, but you haven't stated what the command  
is.  The fact that you haven't closed the string with another "'" means  
that it will sit there waiting for you to tell it what command to run.

Go to the command prompt, type "osascript -e '" and press return, you'll  
see it just waits for you to give it a command (it prompts you for it with  
a '> ' prompt). (hit ctrl-c to break).

I suspect at some point your script file got damaged... maybe you want  
this:

osascript -e 'tell app "TextMate" to reload bundles'

(found on http://macromates.com/textmate/manual/bundles )

Jon



More information about the textmate mailing list