mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 07:20:24 +01:00
7e47bcee43
By: md_5 <git@md-5.net>
14 lines
185 B
Bash
Executable file
14 lines
185 B
Bash
Executable file
#!/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
|