fix: normalize deploy shell scripts to LF for Linux curl|bash

CRLF line endings broke manage.sh on Ubuntu (set -e and function syntax errors).
Add .gitattributes to keep *.sh on LF in git.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-08-02 08:41:15 +08:00
parent d9a34d4f20
commit 4743f3efdd
7 changed files with 825 additions and 816 deletions
+5 -5
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# 兼容入口:转发到 manage.sh
set -euo pipefail
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
exec bash "${ROOT}/deploy/manage.sh" "$@"
#!/usr/bin/env bash
# 兼容入口:转发到 manage.sh
set -euo pipefail
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
exec bash "${ROOT}/deploy/manage.sh" "$@"