fix: tools/save_file.sh (#52)
This commit is contained in:
+1
-1
@@ -7,8 +7,8 @@ set -e
|
|||||||
|
|
||||||
main() {
|
main() {
|
||||||
base_dir="${LLM_TOOL_CACHE_DIR:-/tmp}"
|
base_dir="${LLM_TOOL_CACHE_DIR:-/tmp}"
|
||||||
mkdir -p "$base_dir"
|
|
||||||
output_file="$base_dir/$argc_file_name"
|
output_file="$base_dir/$argc_file_name"
|
||||||
|
mkdir -p "$(dirname "$output_file")"
|
||||||
echo "$argc_contents" > "$output_file"
|
echo "$argc_contents" > "$output_file"
|
||||||
echo "$output_file"
|
echo "$output_file"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user