From 0572d44622b9d29a38bf8e646155064bfe5f0030 Mon Sep 17 00:00:00 2001 From: Marcel Date: Tue, 15 Jul 2014 00:16:20 +0200 Subject: [PATCH] use osx compatible command to get absolute path of script --- bootstrap.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index 425530e2a..8fc29574b 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -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