未验证 提交 b7ab0827 编写于 作者: W wanderingbort 提交者: GitHub

Merge pull request #1511 from pacificcode/eosio_build_dismin_all

Set minimum disk availability for install to 20 GB
......@@ -38,7 +38,8 @@
BUILD_DIR=${WORK_DIR}/build
TEMP_DIR=/tmp
ARCH=$(uname)
DISK_MIN=20
txtbld=$(tput bold)
bldred=${txtbld}$(tput setaf 1)
txtrst=$(tput sgr0)
......
......@@ -28,7 +28,7 @@
exit 1
fi
if [ $DISK_AVAIL -lt 20 ]; then
if [ $DISK_AVAIL -lt $DISK_MIN ]; then
printf "\tYou must have at least 100GB of available storage to install EOSIO.\n"
printf "\texiting now.\n"
exit 1
......
......@@ -35,7 +35,7 @@
exit 1
fi
if [ $DISK_AVAIL -lt 100 ]; then
if [ $DISK_AVAIL -lt $DISK_MIN ]; then
echo "You must have at least 100GB of available storage to install EOSIO."
echo "Exiting now."
exit 1
......
......@@ -28,7 +28,7 @@
exit 1
fi
if [ $DISK_AVAIL -lt 100 ]; then
if [ $DISK_AVAIL -lt $DISK_MIN ]; then
printf "\tYou must have at least 100GB of available storage to install EOSIO.\n"
printf "\tExiting now.\n"
exit 1
......
......@@ -30,7 +30,7 @@
exit 1
fi
if [ $DISK_AVAIL -lt 100 ]; then
if [ $DISK_AVAIL -lt $DISK_MIN ]; then
printf "\tYou must have at least 100GB of available storage to install EOSIO.\n"
printf "\tExiting now.\n"
exit 1
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册