Merge "Update dependency checks"

This commit is contained in:
Jenkins 2016-01-05 15:48:53 +00:00 committed by Gerrit Code Review
commit c72ba0c289
1 changed files with 13 additions and 3 deletions

View File

@ -50,6 +50,16 @@ else
echo "OK"
fi
# Check for xxd
echo -n "Checking for 'xxd'... "
execute type xxd >/dev/null 2>&1
if [ $? -eq 1 ]; then
echo "\"xxd\" is not available in the path, but it's required. Please install the \"xxd\" package. Aborting."
exit 1
else
echo "OK"
fi
# Check for VirtualBox
echo "If you run this script under Cygwin, you may have to add path to VirtualBox directory to your PATH. "
echo "Usually it is enough to run \"export PATH=\$PATH:\"/cygdrive/c/Program Files/Oracle/VirtualBox\" "