summaryrefslogtreecommitdiff
path: root/toolchain/dependencies/check-host-lzma.sh
blob: 34e8f0379208a91ae11acb6caaf24e9798055376 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

ok=""

for bin in /usr/bin/lzma $LZMA
do
# TODO: add check for proper functionality here..
  $bin --version > /dev/null 2>&1 && ok="$bin"
  if test "x$ok" != "x" ; then
    break
  fi
done
echo "$ok"