fix: tools/save_file.sh (#52)

This commit is contained in:
sigoden
2024-06-29 06:53:25 +08:00
committed by GitHub
parent f7f009b1da
commit 59fe32ac42
+1 -1
View File
@@ -7,8 +7,8 @@ set -e
main() {
base_dir="${LLM_TOOL_CACHE_DIR:-/tmp}"
mkdir -p "$base_dir"
output_file="$base_dir/$argc_file_name"
mkdir -p "$(dirname "$output_file")"
echo "$argc_contents" > "$output_file"
echo "$output_file"
}