mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-05 10:20:53 +01:00
16 lines
186 B
Bash
16 lines
186 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
PS1="$"
|
||
|
basedir=`pwd`
|
||
|
|
||
|
function update {
|
||
|
cd "$basedir/$1"
|
||
|
git fetch && git reset --hard origin/master
|
||
|
cd ../
|
||
|
git add $1
|
||
|
}
|
||
|
|
||
|
update Bukkit
|
||
|
update CraftBukkit
|
||
|
|