buildrootschalter/toolchain/dependencies/check-host-lzma.sh
Bernhard Reutner-Fischer e99518277a - add handling of lzma for the host (unconditionally for now)
- remove non-working attempt to install an lzma to the host via sudo
2007-08-21 15:33:33 +00:00

14 lines
211 B
Bash
Executable File

#!/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"