Workaround for OSX not having the realpath command.
This commit is contained in:
@@ -5,7 +5,7 @@ set -e
|
||||
nms="net/minecraft/server"
|
||||
export MODLOG=""
|
||||
PS1="$"
|
||||
basedir=$(realpath "$1")
|
||||
basedir="$(cd "$1" && pwd -P)"
|
||||
|
||||
workdir="$basedir/work"
|
||||
minecraftversion=$(cat "$workdir/BuildData/info.json" | grep minecraftVersion | cut -d '"' -f 4)
|
||||
|
||||
Reference in New Issue
Block a user