mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-21 07:09:21 +08:00
11 lines
172 B
Bash
Executable File
11 lines
172 B
Bash
Executable File
#!/bin/bash
|
|
basedir=`pwd`
|
|
function update {
|
|
cd $basedir/$1
|
|
git fetch && git reset --hard origin/master
|
|
cd ../
|
|
git add $1
|
|
}
|
|
update Bukkit
|
|
update CraftBukkit
|