Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: de3d9bcda7
Fetching contributors…

Cannot retrieve contributors at this time

executable file 19 lines (15 sloc) 0.585 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#!/bin/sh

LC_CTYPE=en_US.UTF-8
SVN=`which svn`

echo Changing to Bundles directory...
mkdir -p "/Library/Application Support/TextMate/Bundles"
cd "/Library/Application Support/TextMate/Bundles"

if [ -d "/Library/Application Support/TextMate/Bundles/Erlang.tmbundle" ]; then
echo Erlang bundle already exists - updating...
$SVN up "Erlang.tmbundle"
else
echo Checking out Erlang bundle...
$SVN --username anon --password anon co "http://svn.textmate.org/trunk/Bundles/Erlang.tmbundle"
fi

echo Reloading bundles in TextMate...
osascript -e 'tell app "TextMate" to reload bundles'
Something went wrong with that request. Please try again.