mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-25 20:16:19 +01:00
Set shell prompt to $ when running the patch scripts, helps with speed on windows.
This commit is contained in:
parent
72d5f50bb7
commit
e8f4653025
@ -1,5 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
PS1="$"
|
||||||
basedir=`pwd`
|
basedir=`pwd`
|
||||||
echo "Rebuilding Forked projects.... "
|
echo "Rebuilding Forked projects.... "
|
||||||
|
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
PS1="$"
|
||||||
basedir=`pwd`
|
basedir=`pwd`
|
||||||
echo "Rebuilding patch files from current fork state..."
|
echo "Rebuilding patch files from current fork state..."
|
||||||
|
|
||||||
function cleanupPatches {
|
function cleanupPatches {
|
||||||
cd "$1"
|
cd "$1"
|
||||||
for patch in *.patch; do
|
for patch in *.patch; do
|
||||||
@ -20,6 +22,7 @@ function cleanupPatches {
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
function savePatches {
|
function savePatches {
|
||||||
what=$1
|
what=$1
|
||||||
target=$2
|
target=$2
|
||||||
|
@ -1,10 +1,14 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
PS1="$"
|
||||||
basedir=`pwd`
|
basedir=`pwd`
|
||||||
|
|
||||||
function update {
|
function update {
|
||||||
cd "$basedir/$1"
|
cd "$basedir/$1"
|
||||||
git fetch && git reset --hard origin/master
|
git fetch && git reset --hard origin/master
|
||||||
cd ../
|
cd ../
|
||||||
git add $1
|
git add $1
|
||||||
}
|
}
|
||||||
|
|
||||||
update Bukkit
|
update Bukkit
|
||||||
update CraftBukkit
|
update CraftBukkit
|
||||||
|
Loading…
Reference in New Issue
Block a user