$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.