about summary refs log tree commit diff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 1e6489461b..185ad96fc9 100755
--- a/configure
+++ b/configure
@@ -698,7 +698,7 @@ if test "${enable_add_ons+set}" = set; then
 	   add_ons=`echo */configure | sed -e 's!/configure!!g'`
 	 else
 	   add_ons=`echo $srcdir/*/configure | \
-		    sed -e "s!^$srcdir/!!g" -e 's!/configure!!g'`
+		    sed -e "s!$srcdir/!!g" -e 's!/configure!!g'`
 	 fi;;
     *) add_ons=`echo "$enableval" | sed 's/,/ /g'`;;
    esac