Bin/Defines fix error in Mac OS X

This commit is contained in:
ShinDarth
2016-08-14 09:08:45 +02:00
parent fc05c82f65
commit 42e5f13101

View File

@@ -1,4 +1,9 @@
AC_PATH_ROOT=$(readlink -f "$AC_PATH_BIN/../")
unamestr=`uname`
if [[ "$unamestr" == 'Darwin' ]]; then
AC_PATH_ROOT=$(greadlink -f "$AC_PATH_BIN/../")
else
AC_PATH_ROOT=$(readlink -f "$AC_PATH_BIN/../")
fi
AC_PATH_CONF="$AC_PATH_ROOT/conf"