We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7160f29 commit 5e0a3a4Copy full SHA for 5e0a3a4
src/main/bash/sdkman-install.sh
@@ -174,6 +174,9 @@ function __sdkman_validate() {
174
local -r archive_type=$(sed -n 's/^X-Sdkman-ArchiveType:\(.*\)$/\1/p' ${headers_file} | tr -cd '[:alnum:]')
175
local is_ok
176
177
+ __sdkman_echo_debug "Archive Type: ${archive_type}"
178
+ __sdkman_echo_debug "Archive: ${archive}"
179
+
180
if [[ "${archive_type}" == 'zip' ]]; then
181
is_ok=$(unzip -t "$archive" | grep 'No errors detected in compressed data')
182
elif [[ "${archive_type}" == 'tar' ]]; then
0 commit comments