gdb_dwarf_index: Use a sed call that's more POSIX-compliant.
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>
Sun, 11 Aug 2013 12:08:48 +0000 (15:08 +0300)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 13 Aug 2013 13:35:54 +0000 (15:35 +0200)
commitfdecdc39399994d2c0309005922590e2f106bbef
tree9be018845b85a5ca1b8433b8522feed70214271c
parent7571b7a34f27046a2e6d957dc07c4049125c0b2b
gdb_dwarf_index: Use a sed call that's more POSIX-compliant.

sed versions other than the GNU one often default to being POSIX-compliant,
in which case "+" (with and without escaping) is always an ordinary
character.

Achieve the same functionality in a way that works with both GNU and BSD
seds by using "xx*" insted of "x\+".

Cherry-picked from qtbase/faea8d1056e4b034404febd0ef44a00e7784018d.

Change-Id: I462e070992ff214a7261d45c208f2e5f3e962e8f
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
mkspecs/features/unix/gdb_dwarf_index.prf