3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-16 19:40:07 +01:00
Paper/upstreamMerge.sh
mrkirby153 5b808a6d45 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
2013-11-15 19:56:20 +11:00

11 Zeilen
174 B
Bash
Ausführbare Datei

#!/bin/bash
basedir=`pwd`
function update {
cd "$basedir/$1"
git fetch && git reset --hard origin/master
cd ../
git add $1
}
update Bukkit
update CraftBukkit