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