From 49ed5c6632f6f7970b1bfde7f115967ca150218c Mon Sep 17 00:00:00 2001 From: jzksnsjswkw <69855421+jzksnsjswkw@users.noreply.github.com> Date: Fri, 26 May 2023 15:17:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E5=8F=AF=E6=89=A7?= =?UTF-8?q?=E8=A1=8C=E6=96=87=E4=BB=B6=20=E6=8F=90=E7=A4=BA=E6=89=BE?= =?UTF-8?q?=E4=B8=8D=E5=88=B0=E6=96=87=E4=BB=B6=E7=9A=84=E9=97=AE=E9=A2=98?= =?UTF-8?q?=20(#1943)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/otask.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/otask.sh b/shell/otask.sh index 4fa68ba3..a102a476 100755 --- a/shell/otask.sh +++ b/shell/otask.sh @@ -193,7 +193,7 @@ run_else() { local relative_path="${file_param%/*}" if [[ ! -z ${relative_path} ]] && [[ ${file_param} =~ "/" ]]; then cd ${relative_path} - file_param=${file_param/$relative_path\//} + file_param=${file_param/$relative_path\//.\/} fi shift