mirror of
https://github.com/xemu-project/xemu.git
synced 2025-04-02 11:11:48 -04:00
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>
This commit is contained in:
parent
dda8521197
commit
2184d75b4a
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ get_args()
|
|||
{
|
||||
local args
|
||||
args=${1#*\(}
|
||||
args=${args%)*}
|
||||
args=${args%\)*}
|
||||
echo "$args"
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue