tests: In partmap_test, use ${parted} variable when checking for binary
Signed-off-by: Glenn Washburn <development@efficientek.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
parent
a21618c8a9
commit
f9d1c2601a
@ -96,8 +96,8 @@ case "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" in
|
||||
;;
|
||||
esac
|
||||
|
||||
if ! which parted >/dev/null 2>&1; then
|
||||
echo "parted not installed; cannot test partmap"
|
||||
if ! which ${parted} >/dev/null 2>&1; then
|
||||
echo "${parted} not installed; cannot test partmap"
|
||||
exit 99
|
||||
fi
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user