Skip to content
Snippets Groups Projects
Commit 225eb8ce authored by Robert Martin-Legene's avatar Robert Martin-Legene
Browse files

Mejorando bin/solc

parent 9fa63d00
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,6 @@
# See if PATH is set up incorrectly (look for another install of this binary).
set -x
mypath=$( realpath $0 )
myname=${mypath##*/}
for p in ${PATH//:/ }
......@@ -17,16 +16,12 @@ do
continue
fi
# we found another one, yay!
exec ${checkfile} "$@"
evmvers=$( grep '^chain-evm-version=' ${BFAHOME:-/home/bfa/bfa}/lib/versions | head -1 )
exec ${checkfile} ${evmvers/*=/--evm-version=} "$@"
exit 1
fi
done
# not found .. tell to install it.
set +x
exec >&2
echo "***********************************"
echo "solc no esta instalado."
echo "Para instalarlo, usa installsolc.sh"
echo "***********************************"
# not found
echo "solc: command not found." >&2
exit 1
geth_tag=v1.8.27
solidity_tag=v0.5.0
chain-evm-version=byzantium
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment