From a5e9743b1e88a118223587a039757dd34520b4b1 Mon Sep 17 00:00:00 2001 From: kdletters Date: Mon, 27 Apr 2026 08:55:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83=E8=84=9A=E6=9C=AC=E4=BB=8E?= =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E6=94=B9=E6=88=90=E5=A4=8D=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/deploy-rust-remote.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/deploy-rust-remote.sh b/scripts/deploy-rust-remote.sh index 7e60da0a..c74e2d8c 100644 --- a/scripts/deploy-rust-remote.sh +++ b/scripts/deploy-rust-remote.sh @@ -67,7 +67,7 @@ normalize_env_file() { # 发布环境文件可能由 Windows 编辑器保存,启动脚本只接受无 BOM、无 CRLF 的 KEY=value 文本。 LC_ALL=C sed $'1s/^\xef\xbb\xbf//;s/\r$//' "${env_file}" >"${temp_file}" - mv "${temp_file}" "${env_file}" + cp "${temp_file}" "${env_file}" } copy_optional_file() {