projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bb17cd
)
trace: fix a regex portability problem
author
Blue Swirl
<blauwirbel@gmail.com>
Sat, 11 Sep 2010 10:43:39 +0000
(10:43 +0000)
committer
Blue Swirl
<blauwirbel@gmail.com>
Sat, 11 Sep 2010 10:43:39 +0000
(10:43 +0000)
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>
tracetool
patch
|
blob
|
history
diff --git
a/tracetool
b/tracetool
index
b74b630
..
534cc70
100755
(executable)
--- a/
tracetool
+++ b/
tracetool
@@
-39,7
+39,7
@@
get_args()
{
local args
args=${1#*\(}
- args=${args%)*}
+ args=${args%
\
)*}
echo "$args"
}