Workaround for OSX not having the realpath command.

This commit is contained in:
DemonWav
2016-04-03 03:35:51 -05:00
parent ed05173181
commit 56705f6445
10 changed files with 11 additions and 11 deletions

View File

@@ -2,7 +2,7 @@
(
set -e
basedir=$(realpath "$1")
basedir="$(cd "$1" && pwd -P)"
(git submodule update --init && ./scripts/remap.sh "$basedir" && ./scripts/decompile.sh "$basedir" && ./scripts/init.sh "$basedir" && ./scripts/applyPatches.sh "$basedir") || (
echo "Failed to build Paper"