mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-22 15:17:17 +01:00
10 lines
195 B
Bash
Executable file
10 lines
195 B
Bash
Executable file
#!/bin/bash
|
|
basedir=$(dirname $(readlink -f $0))
|
|
function update {
|
|
cd $basedir/$1
|
|
git fetch && git reset --hard origin/master
|
|
cd ../
|
|
git add $1
|
|
}
|
|
update Bukkit
|
|
update CraftBukkit
|