fix use of grub-probe instead of ${grub_probe}
This commit is contained in:
parent
4182262560
commit
ad73cc3312
2 changed files with 6 additions and 1 deletions
|
@ -112,7 +112,7 @@ for OS in ${OSPROBED} ; do
|
|||
LONGNAME="`echo ${OS} | cut -d ':' -f 2 | tr '^' ' '`"
|
||||
LABEL="`echo ${OS} | cut -d ':' -f 3 | tr '^' ' '`"
|
||||
BOOT="`echo ${OS} | cut -d ':' -f 4`"
|
||||
UUID="`grub-probe --target=fs_uuid --device ${DEVICE%@*}`"
|
||||
UUID="`${grub_probe} --target=fs_uuid --device ${DEVICE%@*}`"
|
||||
EXPUUID="$UUID"
|
||||
|
||||
if [ x"${DEVICE#*@}" != x ] ; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue