Fix check_meta_file_version calls
This commit is contained in:
parent
478dd40dcf
commit
5eee1b6d58
@ -6,6 +6,9 @@ edo()
|
||||
"$@" || exit 2
|
||||
}
|
||||
|
||||
edo rm .available-versions
|
||||
edo rm .download-urls
|
||||
|
||||
# install GHCs
|
||||
edo ./ghcup -v install 8.2.2
|
||||
edo ./ghcup -v install 8.4.3
|
||||
|
4
ghcup
4
ghcup
@ -969,7 +969,7 @@ get_meta_version_file() {
|
||||
) || die "downloading failed"
|
||||
fi
|
||||
|
||||
check_meta_file_version "${meta_file_name}" "${META_VERSION_FORMAT}"
|
||||
check_meta_file_version "${meta_filepath}" "${META_VERSION_FORMAT}"
|
||||
|
||||
printf "%s" "${meta_filepath}"
|
||||
|
||||
@ -996,7 +996,7 @@ get_meta_download_file() {
|
||||
) || die "downloading failed!"
|
||||
fi
|
||||
|
||||
check_meta_file_version "${meta_file_name}" "${META_DOWNLOAD_FORMAT}"
|
||||
check_meta_file_version "${meta_filepath}" "${META_DOWNLOAD_FORMAT}"
|
||||
|
||||
printf "%s" "${CACHE_LOCATION}/${meta_file_name}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user