For some reason this script hangs on bzip2 presence checking (#15647)

Steps to reproduce:

Clone repo from master branch
Run: make install COMPILETAG=compile_golangimage
Wait until script will check that bzip2 is installed

Signed-off-by: YuriiPaneiko <yurapaneyko@gmail.com>
This commit is contained in:
Yurii Paneiko 2021-10-14 15:11:14 +03:00 committed by GitHub
parent 76733d72be
commit be1e762b70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ function checkdep {
exit 1 exit 1
fi fi
if ! bzip2 --version &> /dev/null if ! [ -x "$(command -v bzip2)" ]
then then
echo "Need to install bzip2 first and run this script again." echo "Need to install bzip2 first and run this script again."
exit 1 exit 1