fix: create install directory with mkdir -p (#1563)

Co-authored-by: James Hegedus <jthegedus@hey.com>
This commit is contained in:
Paweł Rozlach 2023-05-31 10:39:55 +02:00 committed by GitHub
parent 99623d7eac
commit d6185a2120
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
)