From c45adc66ccee443bac7653a6f0d89d04d3b81d1f Mon Sep 17 00:00:00 2001 From: Adam Hawkins Date: Mon, 14 Dec 2020 11:53:07 -1000 Subject: [PATCH] feat(bin): download after checking deps --- bin/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/install b/bin/install index a8c3623..f58b631 100755 --- a/bin/install +++ b/bin/install @@ -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. (