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:
parent
a37fef136b
commit
0572d44622
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user