gdb-cross.inc: Reworked sed expression and tested to work.
authorLeon Woestenberg <leon.woestenberg@gmail.com>
Wed, 30 Apr 2008 11:38:50 +0000 (11:38 +0000)
committerLeon Woestenberg <leon.woestenberg@gmail.com>
Wed, 30 Apr 2008 11:38:50 +0000 (11:38 +0000)
packages/gdb/gdb-cross.inc

index 9870b98..6d4c3d1 100644 (file)
@@ -13,7 +13,7 @@ do_configure () {
 
         # Fix for issues when system's texinfo version >= 4.10
         # (See https://bugzilla.redhat.com/show_bug.cgi?id=345621)
-        sed -i -e 's/egrep `texinfo.*`/egrep `texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|4.[1-9][0-9]+|[5-9])`/' '${S}/configure'
+        sed -i -e "s@egrep 'texinfo.*'@egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|4.[1-9][0-9]+|[5-9])'@" '${S}/configure'
 
 
        oe_runconf