Spice--MAC OSX Client

Just tried to build this on 10.8 using the instructions from http://www.spice-space.org/page/OSX_Client/Build

No joy:
Code:
$ sh spice-osx-build-setup.sh 
Checking out spice-jhbuild from git...
Installing spice-jhbuild configuration...
Setting up gtk-osx build
gtk-osx-build-setup.sh: line 1: syntax error near unexpected token `newline'
gtk-osx-build-setup.sh: line 1: `<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">'
Failed to setup gtk-osx build
 
How did you get it to open the client by default? Safari just seems to download a text file with the config instead of launching the client.
 
How did you get it to open the client by default? Safari just seems to download a text file with the config instead of launching the client.

I had that too. I renamed the file Download to Download.vv and then opened that via
Code:
myuser@myhost: /Applications/RemoteViewer.app/Contents/MacOS/RemoteViewer Downloads/Download.vv

You have to time it correctly, as else it seems Proxmox will stop listening for the request. It's pretty damn slow here though, and I'm on a local machine.