]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* util/grub.d/10_kfreebsd.in: Fix improper references to grub-probe by
authorYuta Satoh <nigoro>
Thu, 3 Jan 2013 22:06:07 +0000 (23:06 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Thu, 3 Jan 2013 22:06:07 +0000 (23:06 +0100)
${grub_probe}

ChangeLog
util/grub.d/10_kfreebsd.in

index 087b5c33b4a109b75423008c3651aa07f9a87c43..936af2f8614d24f29b1a687a5d0635d187796d0b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-01-03  Yuta Satoh  <nigoro>
+
+       * util/grub.d/10_kfreebsd.in: Fix improper references to grub-probe by
+       ${grub_probe}
+
 2013-01-03  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * configure.ac: Extend -Wno-trampolines to host.
index 260dda8cb07777c12198e695d0abf0719473d129..2a48b52ac0aa4c5ef4ea4b6c08995e4dfc5778cb 100644 (file)
@@ -54,7 +54,7 @@ load_kfreebsd_module ()
   fi
 
   if [ -z "${prepare_module_dir_cache}" ]; then
-    prepare_module_dir_cache="$(prepare_grub_to_access_device $(grub-probe -t device "${module_dir}") | grub_add_tab)"
+    prepare_module_dir_cache="$(prepare_grub_to_access_device $(${grub_probe} -t device "${module_dir}") | grub_add_tab)"
   fi
 
   printf '%s\n' "${prepare_module_dir_cache}"
@@ -112,7 +112,7 @@ EOF
 
   load_kfreebsd_module acpi true
 
-  for abstraction in dummy $(grub-probe -t abstraction --device ${GRUB_DEVICE}) ; do
+  for abstraction in dummy $(${grub_probe} -t abstraction --device ${GRUB_DEVICE}) ; do
     case $abstraction in
       lvm) load_kfreebsd_module geom_linux_lvm false ;;
     esac
@@ -179,7 +179,7 @@ while [ "x$list" != "x" ] ; do
   case ${GRUB_FS} in
     zfs)
                        # zpool name
-                       kfreebsd_device=$(grub-probe -t fs_label --device ${GRUB_DEVICE})
+                       kfreebsd_device=$(${grub_probe} -t fs_label --device ${GRUB_DEVICE})
                        # filesystem name (empty string for the main filesystem)
                        kfreebsd_device="${kfreebsd_device}$(${grub_mkrelpath} / | sed -e "s,/*@$,,")"
     ;;