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 @@ ...@@ -4,7 +4,6 @@
# See if PATH is set up incorrectly (look for another install of this binary). # See if PATH is set up incorrectly (look for another install of this binary).
set -x
mypath=$( realpath $0 ) mypath=$( realpath $0 )
myname=${mypath##*/} myname=${mypath##*/}
for p in ${PATH//:/ } for p in ${PATH//:/ }
...@@ -17,16 +16,12 @@ do ...@@ -17,16 +16,12 @@ do
continue continue
fi fi
# we found another one, yay! # 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 exit 1
fi fi
done done
# not found .. tell to install it. # not found
set +x echo "solc: command not found." >&2
exec >&2
echo "***********************************"
echo "solc no esta instalado."
echo "Para instalarlo, usa installsolc.sh"
echo "***********************************"
exit 1 exit 1
geth_tag=v1.8.27 geth_tag=v1.8.27
solidity_tag=v0.5.0 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