Add install.sh wrapper pointing to scripts/deploy_evalscope.sh
This commit is contained in:
parent
ae5a1a192e
commit
c3b7f340e8
17
install.sh
Executable file
17
install.sh
Executable file
@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
# ============================================================
|
||||
# EvalScope 一键安装脚本(入口包装器)
|
||||
# 实际逻辑位于 scripts/deploy_evalscope.sh
|
||||
# ============================================================
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
DEPLOY_SCRIPT="$SCRIPT_DIR/scripts/deploy_evalscope.sh"
|
||||
|
||||
if [ ! -f "$DEPLOY_SCRIPT" ]; then
|
||||
echo "ERROR: 未找到部署脚本 $DEPLOY_SCRIPT" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
exec bash "$DEPLOY_SCRIPT" "$@"
|
||||
Loading…
x
Reference in New Issue
Block a user