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
|
@ -1,3 +1,8 @@
|
||||||
|
2013-12-07 Andrey Borzenkov <arvidjaar@gmail.com>
|
||||||
|
|
||||||
|
* util/grub.d/30_os-prober.in: Fix use of grub-probe instead of
|
||||||
|
${grub_probe}.
|
||||||
|
|
||||||
2013-12-06 Vladimir Serbinenko <phcoder@gmail.com>
|
2013-12-06 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
Don't add -mlong-calls when compiling with clang.
|
Don't add -mlong-calls when compiling with clang.
|
||||||
|
|
|
@ -112,7 +112,7 @@ for OS in ${OSPROBED} ; do
|
||||||
LONGNAME="`echo ${OS} | cut -d ':' -f 2 | tr '^' ' '`"
|
LONGNAME="`echo ${OS} | cut -d ':' -f 2 | tr '^' ' '`"
|
||||||
LABEL="`echo ${OS} | cut -d ':' -f 3 | tr '^' ' '`"
|
LABEL="`echo ${OS} | cut -d ':' -f 3 | tr '^' ' '`"
|
||||||
BOOT="`echo ${OS} | cut -d ':' -f 4`"
|
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"
|
EXPUUID="$UUID"
|
||||||
|
|
||||||
if [ x"${DEVICE#*@}" != x ] ; then
|
if [ x"${DEVICE#*@}" != x ] ; then
|
||||||
|
|
Loading…
Reference in a new issue