When trying the checkout.sh script in OSX, I get the following errors:
: command not foundwnloads/checkout.sh: line 6:
/Users/nnhubbard/Downloads/checkout.sh: line 7: syntax error near unexpected tok'n `
'Users/nnhubbard/Downloads/checkout.sh: line 7: `print_usage()
Both my work and home computer did this, does something need to be fixed in the script?
Looks like the script was committed with Windows newlines for some reason. OS X is not liking them. If you open it in a text editor and switch to Unix newlines, it works fine.
I'll fix the script when I remember where the read/write Matrix repo is
EDIT: Actually, that will have to wait until Monday because access is blocked off from outside and I'm not heading to the office
[quote]
Do you have CVS installed on your Mac? I cant remember for sure, but I think you might need to install the developer tools on the OS X DVD to get it.
EDIT: Once you do, typing “which cvs” should bring up “/usr/bin/cvs”
[/quote]
I had to install it from Macports(osx disk images at the top) - I do not think it comes with the developer tools.
I installed cvsps from source too (git uses it) , as that can be useful too…
Thanks guys, wasn't thinking about the cvs binary on my machine. I did have dev tools installed, but I needed to move cvs from that to /usr/bin/ rather than in the developer tools usr/bin.