From 82a2aafe22932c7a14ed73e75858aebddd5c0824 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 12 十月 2026 19:35:45 +0800
Subject: [PATCH] fix: YZFX.sh 上传失败——scp 远端路径误加了单引号
---
YZFX.sh | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/YZFX.sh b/YZFX.sh
index 1c25397..9373b39 100755
--- a/YZFX.sh
+++ b/YZFX.sh
@@ -319,7 +319,9 @@
ssh_remote "rm -f '$REMOTE_TMP'" || true
-if ! scp_up "$ZIP_FILE" "'$REMOTE_TMP'"; then
+# 杩滅璺緞涓嶈兘鍔犲紩鍙凤細ssh 閭f潯鐨勫崟寮曞彿鏄粰杩滅 shell 鍓ョ殑锛岃�� scp 鐨勫弬鏁颁笉缁� shell锛�
+# 鍗曞紩鍙蜂細鍙樻垚鏂囦欢鍚嶇殑鐪熷疄瀛楃锛堣繙绔細鍘诲紑 "'/home/vue/dist/..." 杩欎釜鐩稿璺緞锛�
+if ! scp_up "$ZIP_FILE" "$REMOTE_TMP"; then
err 'Upload failed.'
fail
fi
--
Gitblit v1.9.3