summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorTeruaki Kawashima <teru@rockbox.org>2010-11-21 14:31:19 +0000
committerTeruaki Kawashima <teru@rockbox.org>2010-11-21 14:31:19 +0000
commit572c6eeb29723be7ac3d0382b84cc4766558cdc0 (patch)
treeadb56874e6abc3bed7636f1bfbb4cd5662d6dc02 /tools
parent3cebd7a735eff27439f0997a5ff8a1e0d054bddf (diff)
downloadrockbox-572c6eeb29723be7ac3d0382b84cc4766558cdc0.tar.gz
rockbox-572c6eeb29723be7ac3d0382b84cc4766558cdc0.tar.bz2
rockbox-572c6eeb29723be7ac3d0382b84cc4766558cdc0.zip
fix --rbdir is ignored in configure
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28629 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure11
1 files changed, 9 insertions, 2 deletions
diff --git a/tools/configure b/tools/configure
index efeaa92a92..a9a6d55abf 100755
--- a/tools/configure
+++ b/tools/configure
@@ -102,10 +102,10 @@ app_get_platform() {
bindir="$ARG_PREFIX/bin"
libdir="$ARG_PREFIX/lib"
else
- echo "ERROR: PREFIX does not does not exist"
+ echo "ERROR: PREFIX does not exist"
exit
fi
- fi
+ fi
output="rockbox"
bootoutput="rockbox"
elif [ "$app_platform" = "android" ]; then
@@ -3120,6 +3120,13 @@ else
fi
if [ "$ARG_RBDIR" ]; then
+ if [ "$need_full_path" != "yes" ]; then
+ if [ -z `echo $ARG_RBDIR | grep '^/'` ]; then
+ rbdir="/"$ARG_RBDIR
+ else
+ rbdir=$ARG_RBDIR
+ fi
+ fi
echo "Using alternate rockbox dir: ${rbdir}"
fi