mirror of
https://github.com/PaperMC/Paper.git
synced 2024-08-27 23:19:36 +02:00
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
11 lines
174 B
Bash
Executable File
11 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
|