2013-01-15 01:18:40 +00:00
|
|
|
#!/bin/bash
|
2014-04-14 11:01:27 +00:00
|
|
|
|
|
|
|
PS1="$"
|
2013-01-21 09:24:30 +00:00
|
|
|
basedir=`pwd`
|
2014-04-14 11:01:27 +00:00
|
|
|
|
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
|
|
|
|
}
|
2014-04-14 11:01:27 +00:00
|
|
|
|
2013-01-15 01:18:40 +00:00
|
|
|
update Bukkit
|
|
|
|
update CraftBukkit
|