16 lines
230 B
Bash
Executable file
16 lines
230 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
PS1="$"
|
|
basedir="$1"
|
|
workdir="$basedir/work"
|
|
|
|
function update {
|
|
cd "$workdir/$1"
|
|
git fetch && git reset --hard origin/master
|
|
cd ../
|
|
git add $1
|
|
}
|
|
|
|
update Bukkit
|
|
update CraftBukkit
|
|
update Spigot
|