Eureka/tools/dotnet-self
Eureka ad6e3108b9 tools: dotnet-self wrapper, env outside the worktree, subshell warning
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 11:37:06 +00:00

8 lines
308 B
Shell
Executable file

#!/bin/sh
# Run ONE dotnet command with the Self env (tools/dotnet-self-env.sh) applied to
# that process only; the caller's shell keeps its HOME, git and gh config.
# tools/dotnet-self build -c Release
set -e
here=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
. "$here/dotnet-self-env.sh"
exec dotnet "$@"