From: Blue Swirl Date: Sat, 11 Sep 2010 10:43:39 +0000 (+0000) Subject: trace: fix a regex portability problem X-Git-Tag: v0.14.0-rc0~669 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2184d75b4a6a253e8b1e002b3dbcc85c20ba6041;p=thirdparty%2Fqemu.git trace: fix a regex portability problem The /bin/sh in Milax has problems with the regex: Error: invalid trace backend Please choose a supported trace backend. Fix it by escaping ')' like the regexes with '('. Signed-off-by: Blue Swirl --- diff --git a/tracetool b/tracetool index b74b6301d2c..534cc709f48 100755 --- a/tracetool +++ b/tracetool @@ -39,7 +39,7 @@ get_args() { local args args=${1#*\(} - args=${args%)*} + args=${args%\)*} echo "$args" }