Add error messages for missing muvm/passt
This commit is contained in:
parent
9f0f835fce
commit
77028b04da
1 changed files with 10 additions and 0 deletions
10
munix
10
munix
|
|
@ -48,6 +48,16 @@ if [ "$MICROVM_CLOSURE" = "" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if [ "$MUVM_PATH" = "" ]; then
|
||||
echo "munix: muvm not found, provide a --muvm-bin-dir or fix \$PATH" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ "$PASST_PATH" = "" ]; then
|
||||
echo "munix: passt not found, provide a --passt-bin-dir or fix \$PATH" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Resolve symlinks automatically
|
||||
MICROVM_CLOSURE=$(realpath "$MICROVM_CLOSURE")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue