1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

use osx compatible command to get absolute path of script

This commit is contained in:
Marcel 2014-07-15 00:16:20 +02:00
parent a37fef136b
commit 0572d44622

View File

@ -2,8 +2,7 @@
################ parameters ################ ################ parameters ################
# directory where the script is located # directory where the script is located
SCRIPT_NAME=$(readlink -f $0) SCRIPT_DIR=$( cd $(dirname $0); pwd -P)
SCRIPT_DIR=`dirname $SCRIPT_NAME`
# directory where dependencies will be installed # directory where dependencies will be installed
INSTALL_DIR=libs INSTALL_DIR=libs