mkrootfs: die if $QEMU_BIN is not in PATH.

This commit is contained in:
Juan RP 2015-02-12 09:14:22 +01:00
parent a7ed58c4fb
commit c332eae781

View File

@ -155,6 +155,9 @@ for f in chroot tar xbps-install xbps-reconfigure xbps-query; do
die "$f binary is missing in your system, exiting." die "$f binary is missing in your system, exiting."
fi fi
done done
if ! $QEMU_BIN -version >/dev/null 2>&1; then
die "$QEMU_BIN binary is missing in your system, exiting."
fi
if type pixz >/dev/null 2>&1; then if type pixz >/dev/null 2>&1; then
XZ=pixz XZ=pixz
else else