summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiulio Cervera <giulio.cervera@cyanogenmod.org>2014-11-02 19:08:59 +0100
committerGerrit Code Review <gerrit@cyanogenmod.org>2014-11-03 23:26:53 +0000
commit2e1b7747deeb0d3a13d88af8b64dff0efc73b086 (patch)
tree3bfe974c76dce343754db5b24e99cd47989b6e8c
parent250db1f3484551dfad4a35c7cabcc7b7b3354f22 (diff)
script: make osx devs happy
Change-Id: I28d2b61c77e7e66314dfb58606f1050e263c52e7
-rwxr-xr-xextract-files.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/extract-files.sh b/extract-files.sh
index 73558a9..f281d97 100755
--- a/extract-files.sh
+++ b/extract-files.sh
@@ -3,7 +3,7 @@
# Use tradition sort
export LC_ALL=C
-FP=$(dirname $(readlink -f $0))
+FP=$(cd ${0%/*} && pwd -P)
export VENDOR=$(basename $(dirname $FP))
export DEVICE=$(basename $FP)
export BOARDCONFIGVENDOR=false