summaryrefslogtreecommitdiff
path: root/sysutils/grub/patches/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/grub/patches/patch-ai')
-rw-r--r--sysutils/grub/patches/patch-ai13
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/grub/patches/patch-ai b/sysutils/grub/patches/patch-ai
new file mode 100644
index 00000000000..e009a07623a
--- /dev/null
+++ b/sysutils/grub/patches/patch-ai
@@ -0,0 +1,13 @@
+$NetBSD: patch-ai,v 1.1 2003/07/13 17:35:05 wiz Exp $
+
+--- util/grub-install.in.orig Mon May 20 13:21:50 2002
++++ util/grub-install.in
+@@ -297,7 +297,7 @@ fi
+ # Stage 1.5 does not exist.
+
+ # Create the GRUB directory if it is not present.
+-test -d "$bootdir" || mkdir "$bootdir" || exit 1
++test -z "$bootdir" || test -d "$bootdir" || mkdir "$bootdir" || exit 1
+ test -d "$grubdir" || mkdir "$grubdir" || exit 1
+
+ # If --recheck is specified, remove the device map, if present.