From 3c52ab6a42d84ffbb44781670872dcd8311e8886 Mon Sep 17 00:00:00 2001 From: Geoff Stuart Date: Tue, 28 Nov 2023 07:22:20 -0500 Subject: [PATCH] Add comments --- scripts/install_foundry.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/install_foundry.sh b/scripts/install_foundry.sh index f63460ced..3e834d1df 100755 --- a/scripts/install_foundry.sh +++ b/scripts/install_foundry.sh @@ -4,8 +4,11 @@ set -e +# The foundry install script uses XDG_CONFIG_HOME as the root of the install. +# This can vary for different environments, so it is set to $HOME for consistency. export XDG_CONFIG_HOME=$HOME +# This installs from ava-labs fork of the foundry repo. FOUNDRY_VERSION=v0.1.0 curl -L https://raw.githubusercontent.com/ava-labs/foundry/${FOUNDRY_VERSION}/foundryup/install > /tmp/foundry-install-script sed -i "s/\/ava-labs\/foundry\/master\/foundryup/\/ava-labs\/foundry\/${FOUNDRY_VERSION}\/foundryup/g" /tmp/foundry-install-script