triton-install/manage-server
amir-climy f1cec6ac33 fix(scripts): handle BASH_SOURCE[0] unbound when piped via curl
BASH_SOURCE[0] is unset when a script runs via `curl | bash` (no source
file on disk). With `set -u` this triggers "unbound variable" and exits.
Fall back to $0 with ${BASH_SOURCE[0]:-$0} so piped execution works.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 19:38:47 +08:00
..
compose.yaml chore: sync installers from triton v1.0.0-rc.2 2026-05-17 07:43:44 +00:00
env.template chore: sync installers from triton v1.0.0-rc.2 2026-05-17 08:33:44 +00:00
install.sh fix(scripts): handle BASH_SOURCE[0] unbound when piped via curl 2026-05-19 19:38:47 +08:00
uninstall.sh fix(scripts): handle BASH_SOURCE[0] unbound when piped via curl 2026-05-19 19:38:47 +08:00
upgrade.sh fix(scripts): handle BASH_SOURCE[0] unbound when piped via curl 2026-05-19 19:38:47 +08:00