Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
Fix check_meta_file_version calls
Browse files Browse the repository at this point in the history
  • Loading branch information
hasufell committed Nov 6, 2018
1 parent 478dd40 commit 5eee1b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions ghcup
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

Expand All @@ -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}"

Expand Down

0 comments on commit 5eee1b6

Please sign in to comment.