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