summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/rockboxdev.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh
index d9b5ecd524..ac21a4c524 100755
--- a/tools/rockboxdev.sh
+++ b/tools/rockboxdev.sh
@@ -30,7 +30,7 @@ else
fi
# This is the absolute path to where the script resides.
-rockboxdevdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+rockboxdevdir="$( readlink -f "$( dirname "${BASH_SOURCE[0]}" )" )"
if [ `uname -s` = "Darwin" ]; then
parallel=`sysctl -n hw.physicalcpu`
@@ -707,6 +707,10 @@ if [ -n "$missingtools" ]; then
exit 1
fi
+dlwhere=$(readlink -f "$dlwhere")
+prefix=$(readlink -f "$prefix")
+builddir=$(readlink -f "$builddir")
+
echo "Download directory : $dlwhere (set RBDEV_DOWNLOAD or use --dlwhere= to change)"
echo "Install prefix : $prefix (set RBDEV_PREFIX or use --prefix= to change)"
echo "Build dir : $builddir (set RBDEV_BUILD or use --builddir= to change)"