#!/bin/sh

# if the proxy is around, use it
nc -z -w3 192.168.1.1 8123 && export http_proxy="http://192.168.1.1:8123"

mkdir -p /vagrant/substrate-assets
chmod 755 /vagrant/substrate/run.sh

export PATH=$PATH:/usr/local/bin:/usr/local/go/bin
/vagrant/substrate/run.sh /vagrant/substrate-assets

#!/bin/sh

# if the proxy is around, use it
nc -z -w3 192.168.1.1 8123 && export http_proxy="http://192.168.1.1:8123"

mkdir -p /vagrant/substrate-assets
chmod 755 /vagrant/substrate/run.sh

brew update

export PATH=$PATH:/usr/local/bin:/usr/local/go/bin
/vagrant/substrate/run.sh /vagrant/substrate-assets

Update brew prior to building substrate
Update brew prior to building substrate
