feat(bin): download after checking deps

This commit is contained in:
Adam Hawkins
2020-12-14 11:53:07 -10:00
parent fb1dc0f0fd
commit c45adc66cc

View File

@@ -17,8 +17,6 @@ install_php() {
local configure_options="$(construct_configure_options $install_path)"
local make_flags="-j$ASDF_CONCURRENCY"
download_source $install_type $version $source_path
local operating_system=$(uname -a)
if [[ $operating_system =~ "Darwin" ]]; then
@@ -74,6 +72,8 @@ install_php() {
fi
fi
download_source $install_type $version $source_path
# Running this in a subshell because we don't to disturb the current
# working directory.
(