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 ################
|
||||
# directory where the script is located
|
||||
SCRIPT_NAME=$(readlink -f $0)
|
||||
SCRIPT_DIR=`dirname $SCRIPT_NAME`
|
||||
SCRIPT_DIR=$( cd $(dirname $0); pwd -P)
|
||||
|
||||
# directory where dependencies will be installed
|
||||
INSTALL_DIR=libs
|
||||
|
|
Loading…
Reference in New Issue
Block a user