13
0
geforkt von Mirrors/Paper
Paper/scripts/upstreamMerge.sh

20 Zeilen
259 B
Bash

2016-04-01 22:55:54 -05:00
#!/usr/bin/env bash
(
set -e
PS1="$"
basedir="$(cd "$1" && pwd -P)"
2016-04-01 22:55:54 -05:00
workdir="$basedir/work"
function update {
2016-04-01 22:55:54 -05:00
cd "$workdir/$1"
git fetch && git reset --hard origin/master
cd ../
git add $1
}
update Bukkit
update CraftBukkit
update Spigot
)