From f71352b51a78d6df6aa4d43b1014ace7e1ab1692 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sat, 11 Sep 2010 10:43:39 +0000 Subject: [PATCH] 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 --- tracetool | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracetool b/tracetool index b74b630..534cc70 100755 --- a/tracetool +++ b/tracetool @@ -39,7 +39,7 @@ get_args() { local args args=${1#*\(} - args=${args%)*} + args=${args%\)*} echo "$args" } -- 2.7.4