2013-01-15 01:18:40 +00:00
|
|
|
#!/bin/bash
|
2013-01-21 09:24:30 +00:00
|
|
|
basedir=`pwd`
|
2013-01-15 01:18:40 +00:00
|
|
|
function update {
|
2013-11-06 00:26:20 +00:00
|
|
|
cd "$basedir/$1"
|
2013-01-15 01:18:40 +00:00
|
|
|
git fetch && git reset --hard origin/master
|
|
|
|
cd ../
|
|
|
|
git add $1
|
|
|
|
}
|
|
|
|
update Bukkit
|
|
|
|
update CraftBukkit
|