From 6693b131d82ea0b34988a442c4236edb81531e60 Mon Sep 17 00:00:00 2001 From: joyexpr Date: Tue, 20 Apr 2021 10:30:48 +0800 Subject: [PATCH] perf: control command support mod name with n9e- prefix (#661) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 周晓明 --- control | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/control b/control index 7ebd3500..7ec01201 100755 --- a/control +++ b/control @@ -206,9 +206,10 @@ exec() params=${@:2} if [ ${#2} -gt 0 ]; then - for param in $params + for mod in $params do - $1 $param + mod=${mod#n9e-} + $1 $mod if [ "x${mod}" = "xall" ]; then break fi -- GitLab