mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-06 07:02:18 -07:00
Workaround for OSX not having the realpath command.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
set -e
|
||||
PS1="$"
|
||||
|
||||
basedir=$(realpath "$1")
|
||||
basedir="$(cd "$1" && pwd -P)"
|
||||
workdir="$basedir/work"
|
||||
minecraftversion=$(cat "$basedir/BuildData/info.json" | grep minecraftVersion | cut -d '"' -f 4)
|
||||
decompiledir="$workdir/$minecraftversion"
|
||||
|
Reference in New Issue
Block a user