From b6d501fdd92f572330b0ea2f762d71942813c1d0 Mon Sep 17 00:00:00 2001 From: cnphpbb Date: Thu, 31 Jul 2025 06:43:43 +0800 Subject: [PATCH] =?UTF-8?q?refactor(shell):=20=E4=BD=BF=E7=94=A8=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E6=9B=BF=E6=8D=A2=E7=A1=AC=E7=BC=96=E7=A0=81=E8=B7=AF?= =?UTF-8?q?=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改run.sh脚本,将硬编码的路径替换为参数传递,提高脚本的灵活性和可重用性 --- shell/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/run.sh b/shell/run.sh index 74701ba..7d20087 100644 --- a/shell/run.sh +++ b/shell/run.sh @@ -11,6 +11,6 @@ updatesh() { } # 调用函数 -updatesh "/data/deploy.stack" +updatesh $1