fix(scripts): run-tool.sh / run-agent.sh (#88)

This commit is contained in:
sigoden
2024-08-01 18:25:15 +08:00
committed by GitHub
parent 4c9504bc12
commit 36b34c5896
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ load_env() {
if [[ -z "${!key+x}" ]]; then
env_vars="$env_vars $key=$value"
fi
done < "$env_file"
done < <(cat "$env_file"; echo "")
if [[ -n "$env_vars" ]]; then
eval "export $env_vars"
fi