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:
+5
-5
@@ -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" "$@"
|
||||
|
||||
Reference in New Issue
Block a user