summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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