PaperMC/upstreamMerge.sh
Spigot 2e01d5ac17 Batch files now work in directories with spaces in it
Before the batch files could not run if the path to the directory had one
or more spaces in it. EG: "C:/Desktop/Spigot Repo". Now works with the
patch

By: mrkirby153 <mr.austinwhyte@gmail.com>
2013-11-05 16:26:20 -08:00

10 lines
174 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