From 13601883d51501880f7fcab2b5494d312d31dc3a Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Tue, 7 Dec 2010 13:24:41 +0000 Subject: [PATCH] Correct two problems slipped in with r28753. Thanks Teru for spotting. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28757 a1c6a512-1295-4272-9138-f99709370657 --- tools/configure | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/configure b/tools/configure index 7098ba2fc8..1b5721008d 100755 --- a/tools/configure +++ b/tools/configure @@ -3150,6 +3150,11 @@ else fi if [ "$ARG_RBDIR" != "" ]; then + if [ -z `echo $ARG_RBDIR | grep '^/'` ]; then + rbdir="/"$ARG_RBDIR + else + rbdir=$ARG_RBDIR + fi echo "Using alternate rockbox dir: ${rbdir}" fi @@ -3399,7 +3404,7 @@ export ENCODER=@ENCODER@ export USE_ELF=@USE_ELF@ export RBDIR=@RBDIR@ export ROCKBOX_SHARE_PATH=@sharepath@ -export ROCKBOX_LIBRARY_PATH=@libpath@ +export ROCKBOX_BINARY_PATH=@binpath@ export ROCKBOX_LIBRARY_PATH=@libpath@ export SDLCONFIG=@SDLCONFIG@