qinglong/shell/ql.sh
copilot-swe-agent[bot] 7ea2d362f0 Add QL_DIR validation to ql.sh
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
2025-12-30 16:41:26 +00:00

10 lines
169 B
Bash
Executable File

#!/usr/bin/env bash
if [[ -z "$QL_DIR" ]]; then
echo "Error: QL_DIR environment variable is not set"
exit 1
fi
dir_shell=$QL_DIR/shell
. $dir_shell/update.sh "$@"