Skip to content

Commit

Permalink
fix(scripts): run-tool.sh / run-agent.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
sigoden committed Aug 1, 2024
1 parent 4c9504b commit 7c9129d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/run-agent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/run-tool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,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
Expand Down

0 comments on commit 7c9129d

Please sign in to comment.