Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
geoff-vball committed Nov 27, 2023
1 parent d9f2f72 commit a810263
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions scripts/install_foundry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,9 @@ export XDG_CONFIG_HOME=$HOME

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
mkdir -p $HOME/.foundry/bin
sed -i 's/\/ava-labs\/foundry\/master\/foundryup/\/ava-labs\/foundry\/${FOUNDRY_VERSION}\/foundryup/g' /tmp/foundry-install-script
cat /tmp/foundry-install-script | bash
echo "export PATH=$PATH:$HOME/.foundry/bin" >> ~/.bashrc
cat ~/.bashrc
echo "export PATH=\"$PATH:$HOME/.foundry/bin\"">> ~/.bashrc
source ~/.bashrc
ls $HOME/.foundry/bin
export PATH=$PATH:$HOME/.foundry/bin:$HOME/.cargo/bin
printenv
foundryup --version ${FOUNDRY_VERSION}

0 comments on commit a810263

Please sign in to comment.