papermc/upstreamMerge.sh

10 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