From 333c0cc6b01a7e298f983c43339dc5eb9fef7019 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Fri, 20 Aug 2010 20:07:50 +0000 Subject: Fix configure to always prepend a missing leading '/'. Also don't require perl regexp support as it's not necessary and not all grep installations support it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27848 a1c6a512-1295-4272-9138-f99709370657 --- tools/configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/configure') diff --git a/tools/configure b/tools/configure index 209ef4c746..7c61b09ee7 100755 --- a/tools/configure +++ b/tools/configure @@ -3092,7 +3092,7 @@ if [ "$ARG_RBDIR" ]; then if [ "$need_full_path" = "yes" ]; then rbdir=`realpath $ARG_RBDIR` else # prepend '/' if needed - if [ -z `echo $ARG_RBDIR | grep -P '/.*'` ]; then + if [ -z `echo $ARG_RBDIR | grep '^/'` ]; then rbdir="/"$ARG_RBDIR else rbdir=$ARG_RBDIR -- cgit v1.2.3