mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-22 14:35:11 +01:00
Switch to pwd so the scripts can work more reliably on other OSs
This commit is contained in:
parent
7dcc1ceac4
commit
f440cb30ed
3 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
basedir=$(dirname $(readlink -f $0))
|
||||
basedir=`pwd`
|
||||
echo "Rebuilding Forked projects.... "
|
||||
|
||||
function applyPatch {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
basedir=$(dirname $(readlink -f $0))
|
||||
basedir=`pwd`
|
||||
echo "Rebuilding patch files from current fork state..."
|
||||
function cleanupPatches {
|
||||
cd $1
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
basedir=$(dirname $(readlink -f $0))
|
||||
basedir=`pwd`
|
||||
function update {
|
||||
cd $basedir/$1
|
||||
git fetch && git reset --hard origin/master
|
||||
|
|
Loading…
Reference in a new issue