blob: e1de26859c8687be09cfff1ebd06fd2ebb292a89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
diff --git a/util/grub-mkconfig.in b/util/grub-mkconfig.in
index 859c2e8..c4391dc 100644
--- a/util/grub-mkconfig.in
+++ b/util/grub-mkconfig.in
@@ -40,7 +40,9 @@ self=`basename $0`
grub_probe="${sbindir}/`echo grub-probe | sed "${transform}"`"
grub_script_check="${bindir}/`echo grub-script-check | sed "${transform}"`"
-GRUB_PREFIX=`echo '/@bootdirname@/@grubdirname@' | sed "s,//*,/,g"`
+if test -z "${GRUB_PREFIX}"; then
+ GRUB_PREFIX=`echo '/@bootdirname@/@grubdirname@' | sed "s,//*,/,g"`
+fi
. "${datadir}/@PACKAGE@/grub-mkconfig_lib"
|