From d6185a21207e0ac45e69499883dad5e2b585c1b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Rozlach?= <2124609+vespian@users.noreply.github.com> Date: Wed, 31 May 2023 10:39:55 +0200 Subject: [PATCH] fix: create install directory with `mkdir -p` (#1563) Co-authored-by: James Hegedus --- lib/functions/installs.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions/installs.bash b/lib/functions/installs.bash index 76d4b5f4..721ae50c 100644 --- a/lib/functions/installs.bash +++ b/lib/functions/installs.bash @@ -207,7 +207,7 @@ install_tool_version() { export ASDF_INSTALL_PATH=$install_path # shellcheck disable=SC2030 export ASDF_DOWNLOAD_PATH=$download_path - mkdir "$download_path" + mkdir -p "$download_path" asdf_run_hook "pre_asdf_download_${plugin_name}" "$full_version" "${plugin_path}"/bin/download )