diff --git a/applyPatches.sh b/applyPatches.sh index 4308d9f8d4..32585f94b4 100755 --- a/applyPatches.sh +++ b/applyPatches.sh @@ -1,5 +1,6 @@ #!/bin/bash +PS1="$" basedir=`pwd` echo "Rebuilding Forked projects.... " diff --git a/rebuildPatches.sh b/rebuildPatches.sh index d56ed82c23..6785d242e8 100755 --- a/rebuildPatches.sh +++ b/rebuildPatches.sh @@ -1,7 +1,9 @@ #!/bin/bash +PS1="$" basedir=`pwd` echo "Rebuilding patch files from current fork state..." + function cleanupPatches { cd "$1" for patch in *.patch; do @@ -20,6 +22,7 @@ function cleanupPatches { fi done } + function savePatches { what=$1 target=$2 diff --git a/upstreamMerge.sh b/upstreamMerge.sh index 6d71e60045..c95e357a23 100755 --- a/upstreamMerge.sh +++ b/upstreamMerge.sh @@ -1,10 +1,14 @@ #!/bin/bash + +PS1="$" basedir=`pwd` + function update { cd "$basedir/$1" git fetch && git reset --hard origin/master cd ../ git add $1 } + update Bukkit update CraftBukkit