diff options
author | Jens Arnold <amiconn@rockbox.org> | 2010-08-20 20:07:50 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2010-08-20 20:07:50 +0000 |
commit | 333c0cc6b01a7e298f983c43339dc5eb9fef7019 (patch) | |
tree | 234629894a1811709724fb435c791df5469fc5ad /tools/configure | |
parent | 65c4fc2ad2ebf7693d1c1eca159652cdc2b7cb33 (diff) | |
download | rockbox-333c0cc6b01a7e298f983c43339dc5eb9fef7019.tar.gz rockbox-333c0cc6b01a7e298f983c43339dc5eb9fef7019.zip |
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
Diffstat (limited to 'tools/configure')
-rwxr-xr-x | tools/configure | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
3092 | if [ "$need_full_path" = "yes" ]; then | 3092 | if [ "$need_full_path" = "yes" ]; then |
3093 | rbdir=`realpath $ARG_RBDIR` | 3093 | rbdir=`realpath $ARG_RBDIR` |
3094 | else # prepend '/' if needed | 3094 | else # prepend '/' if needed |
3095 | if [ -z `echo $ARG_RBDIR | grep -P '/.*'` ]; then | 3095 | if [ -z `echo $ARG_RBDIR | grep '^/'` ]; then |
3096 | rbdir="/"$ARG_RBDIR | 3096 | rbdir="/"$ARG_RBDIR |
3097 | else | 3097 | else |
3098 | rbdir=$ARG_RBDIR | 3098 | rbdir=$ARG_RBDIR |