Workaround for OSX not having the realpath command.
This commit is contained in:
parent
0394633734
commit
4108dc5b68
10 changed files with 11 additions and 11 deletions
|
@ -3,7 +3,7 @@
|
|||
(
|
||||
set -e
|
||||
PS1="$"
|
||||
basedir=$(realpath "$1")
|
||||
basedir="$(cd "$1" && pwd -P)"
|
||||
workdir="$basedir/work"
|
||||
minecraftversion=$(cat "$workdir/BuildData/info.json" | grep minecraftVersion | cut -d '"' -f 4)
|
||||
decompiledir="$workdir/$minecraftversion"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue