diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-09-11 10:43:39 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-09-11 10:43:39 +0000 |
commit | 2184d75b4a6a253e8b1e002b3dbcc85c20ba6041 (patch) | |
tree | cbf431fdc51973db74672920077151527b0a8cf6 | |
parent | dda8521197fa4b5e5bfdd932da54e2567fcff94e (diff) |
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 <blauwirbel@gmail.com>
-rwxr-xr-x | tracetool | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -39,7 +39,7 @@ get_args() { local args args=${1#*\(} - args=${args%)*} + args=${args%\)*} echo "$args" } |