summaryrefslogtreecommitdiffhomepage
path: root/scripts/upstreamMerge.sh
blob: 16dfaf48d11851bad54ff1cd1c6f7639d369f86d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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