Skip to contentSkip to conversation

fix use of grub-probe instead of ${grub_probe}

PATCH In review Andrey Borzenkov 2 participants 2 messages Nov 29, 2013 – Dec 2, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix use of grub-probe instead of ${grub_probe}

---
 util/grub.d/30_os-prober.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
util/grub.d/30_os-prober.in +1 -1
index 3d1b938..0470e66 100644
@@ -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
Signature · 1 line
tg: (69ca97c..) u/grub-probe-in-os_prober (depends on: master)
#1 lore raw

Go ahead.

Quoted 18 lines · Andrey Borzenkov
---
 util/grub.d/30_os-prober.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
util/grub.d/30_os-prober.in +1 -1
index 3d1b938..0470e66 100644
@@ -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