提交 9b537cca 编写于 作者: P Paul Calabrese

Error out when no .git directory exists

上级 6102d7bf
......@@ -44,6 +44,12 @@
bldred=${txtbld}$(tput setaf 1)
txtrst=$(tput sgr0)
if [ ! -d .git ]; then
printf "\nThis build script only works with sources cloned from git\n"
printf "\tPlease clone a new eos directory with 'git clone https://github.com/EOSIO/eos --recursive'\n"
printf "\tSee the wiki for instructions: https://github.com/EOSIO/eos/wiki\n"
exit 1
fi
printf "\n\tBeginning build version: ${VERSION}\n"
printf "\t$( date -u )\n"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册