You're right, Jon. That was a copy/paste flaw in my email. What's actually running includes osascript -e 'tell app "TextMate" to reload bundles' as you suggested. Thanks for catching my error. Good eye.

Oh, BTW. The script worked this morning. Apparently access to the rails bundle was down. It's a yo-yo world sometimes.

On 9/2/06, Jon Evans <jon.evans@pobox.com> wrote:
Hi Lewis,

On Sat, 02 Sep 2006 01:11:39 +0100, Lewis Overton <akakie@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