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 | |
| parent | 65c4fc2ad2ebf7693d1c1eca159652cdc2b7cb33 (diff) | |
| download | rockbox-333c0cc6b01a7e298f983c43339dc5eb9fef7019.zip rockbox-333c0cc6b01a7e298f983c43339dc5eb9fef7019.tar.gz rockbox-333c0cc6b01a7e298f983c43339dc5eb9fef7019.tar.bz2 rockbox-333c0cc6b01a7e298f983c43339dc5eb9fef7019.tar.xz | |
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
| -rwxr-xr-x | tools/configure | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/configure b/tools/configure index 209ef4c..7c61b09 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 |