unset INITRAMFS_SOURCE if appropriate
[buildroot.git] / toolchain / dependencies / check-host-lzma.sh
blob34e8f0379208a91ae11acb6caaf24e9798055376
1 #!/bin/sh
3 ok=""
5 for bin in /usr/bin/lzma $LZMA
6 do
7 # TODO: add check for proper functionality here..
8 $bin --version > /dev/null 2>&1 && ok="$bin"
9 if test "x$ok" != "x" ; then
10 break
12 done
13 echo "$ok"