diff options
| author | sigoden <sigoden@gmail.com> | 2024-12-12 09:32:13 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-12 09:32:13 +0800 |
| commit | 7e88e70e1783e2b03f37692e4ee84779ab6e5c62 (patch) | |
| tree | 25e0fcf22a5e49fa7a6b8b3770457cd804317fcf /scripts/run-tool.sh | |
| parent | 0fd1f1fe4e22ff6701ad051824e1245ab2affc7d (diff) | |
| download | llm-functions-docker-7e88e70e1783e2b03f37692e4ee84779ab6e5c62.tar.gz | |
fix: git bash on windows backslashs bug (#142)
Diffstat (limited to 'scripts/run-tool.sh')
| -rwxr-xr-x | scripts/run-tool.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/run-tool.sh b/scripts/run-tool.sh index c764626..1662a26 100755 --- a/scripts/run-tool.sh +++ b/scripts/run-tool.sh @@ -58,6 +58,7 @@ run() { if [[ "$OS" == "Windows_NT" ]]; then set -o igncr tool_path="$(cygpath -w "$tool_path")" + tool_data="$(echo "$tool_data" | sed 's/\\/\\\\/g')" fi jq_script="$(cat <<-'EOF' |
