refactor(shell): 使用参数替换硬编码路径

修改run.sh脚本,将硬编码的路径替换为参数传递,提高脚本的灵活性和可重用性
This commit is contained in:
2025-07-31 06:43:43 +08:00
parent 2362e13ef0
commit b6d501fdd9

View File

@@ -11,6 +11,6 @@ updatesh() {
} }
# 调用函数 # 调用函数
updatesh "/data/deploy.stack" updatesh $1