diff --git a/template/bin/download b/template/bin/download index b104db2..c11ee53 100755 --- a/template/bin/download +++ b/template/bin/download @@ -5,7 +5,7 @@ set -euo pipefail current_script_path=${BASH_SOURCE[0]} plugin_dir=$(dirname "$(dirname "$current_script_path")") -# shellcheck source=../lib/utils.bash +# shellcheck source=./lib/utils.bash source "${plugin_dir}/lib/utils.bash" mkdir -p "$ASDF_DOWNLOAD_PATH" diff --git a/template/bin/install b/template/bin/install index 9737a63..6ca759a 100755 --- a/template/bin/install +++ b/template/bin/install @@ -5,7 +5,7 @@ set -euo pipefail current_script_path=${BASH_SOURCE[0]} plugin_dir=$(dirname "$(dirname "$current_script_path")") -# shellcheck source=../lib/utils.bash +# shellcheck source=./lib/utils.bash source "${plugin_dir}/lib/utils.bash" install_version "$ASDF_INSTALL_TYPE" "$ASDF_INSTALL_VERSION" "$ASDF_INSTALL_PATH" diff --git a/template/bin/latest-stable b/template/bin/latest-stable index b9a01c3..818f26e 100755 --- a/template/bin/latest-stable +++ b/template/bin/latest-stable @@ -5,7 +5,7 @@ set -euo pipefail current_script_path=${BASH_SOURCE[0]} plugin_dir=$(dirname "$(dirname "$current_script_path")") -# shellcheck source=../lib/utils.bash +# shellcheck source=./lib/utils.bash . "${plugin_dir}/lib/utils.bash" curl_opts=(-sI) diff --git a/template/bin/list-all b/template/bin/list-all index 943371e..9b8b666 100755 --- a/template/bin/list-all +++ b/template/bin/list-all @@ -5,7 +5,7 @@ set -euo pipefail current_script_path=${BASH_SOURCE[0]} plugin_dir=$(dirname "$(dirname "$current_script_path")") -# shellcheck source=../lib/utils.bash +# shellcheck source=./lib/utils.bash source "${plugin_dir}/lib/utils.bash" list_all_versions | sort_versions | xargs echo