add checks to linux builder

Former-commit-id: dc534a55c0b034cc4fd01e0a340418f79c0ec7f1
This commit is contained in:
r4sas 2017-02-26 21:49:43 +03:00
parent 01d7d908f8
commit 72a5f3da0e
2 changed files with 17 additions and 3 deletions

View file

@ -8,6 +8,12 @@
arch=$(uname -m)
screenfind=$(which screen)
if [ -z $curlfind ]; then
echo "Can't find 'screen' installed. That script needs it!";
exit 1;
fi
if [ $arch == "x86_64" ]
screen -Adm -S i2pd ./i2pd-x86_64 --datadir=.
else