From 7e88e70e1783e2b03f37692e4ee84779ab6e5c62 Mon Sep 17 00:00:00 2001 From: sigoden Date: Thu, 12 Dec 2024 09:32:13 +0800 Subject: fix: git bash on windows backslashs bug (#142) --- scripts/run-tool.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/run-tool.sh') 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' -- cgit v1.2.3