aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/run-tool.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/run-tool.sh')
-rwxr-xr-xscripts/run-tool.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/run-tool.sh b/scripts/run-tool.sh
index 2ed01d5..4c89d53 100755
--- a/scripts/run-tool.sh
+++ b/scripts/run-tool.sh
@@ -26,7 +26,7 @@ parse_argv() {
setup_env() {
export LLM_ROOT_DIR="$root_dir"
if [[ -f "$LLM_ROOT_DIR/.env" ]]; then
- source "$LLM_ROOT_DIR/.env"
+ set -o allexport && source "$LLM_ROOT_DIR/.env" && set +o allexport
fi
export LLM_TOOL_NAME="$tool_name"
export LLM_TOOL_CACHE_DIR="$LLM_ROOT_DIR/cache/$tool_name"