ruby: bump version to 2.4.1
[buildroot-gz.git] / support / dependencies / check-host-lzip.sh
blob4f8a2ba3de5b32858567c0bd47589ca8a40b8a31
1 #!/bin/sh
3 candidate="$1"
5 lzip=`which $candidate 2>/dev/null`
6 if [ ! -x "$lzip" ]; then
7 lzip=`which lzip 2>/dev/null`
8 if [ ! -x "$lzip" ]; then
9 # echo nothing: no suitable lzip found
10 exit 1
14 echo $lzip