diff options
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/save_file.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/save_file.sh b/tools/save_file.sh index c51079f..f2d14d0 100755 --- a/tools/save_file.sh +++ b/tools/save_file.sh @@ -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" } |
