[EOSIO/eos] Allow eosiocpp to run without make install (#5206)

wanderingbort commented on this pull request.

> @@ -5,7 +5,27 @@ if [ «${EOSIO_BIN_INSTALL_DIR}» == «.» ]; then
EOSIO_BIN_INSTALL_DIR=`pwd`
fi
EOSIO_INSTALL_DIR=`dirname ${EOSIO_BIN_INSTALL_DIR}`
-ABIGEN=${EOSIO_INSTALL_DIR}/bin/eosio-abigen
+if [ -x «@CMAKE_BINARY_DIR@/programs/eosio-abigen/eosio-abigen» ]; then

yeah, docker should do a decent job of sanitizing paths… I’m checking right now and will release my objection if it looks benign.

Добавить комментарий