]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* util/grub-install.in: Use mkdir -p to create grub directory.
authorGrégoire Sutre <gregoire.sutre@gmail.com>
Sat, 3 Apr 2010 18:48:36 +0000 (20:48 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 3 Apr 2010 18:48:36 +0000 (20:48 +0200)
* util/i386/efi/grub-install.in: Likewise.
* util/ieee1275/grub-install.in: Likewise.

ChangeLog
util/grub-install.in
util/i386/efi/grub-install.in
util/ieee1275/grub-install.in

index a1bfc3ef7cd3f7050ad96c398b7c209aaefa5975..fbfefad82351834edb635ac6188c7cb6ba3d2ae9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-04-03  Grégoire Sutre  <gregoire.sutre@gmail.com>
+
+       * util/grub-install.in: Use mkdir -p to create grub directory.
+       * util/i386/efi/grub-install.in: Likewise.
+       * util/ieee1275/grub-install.in: Likewise.
+
 2010-04-03  Grégoire Sutre  <gregoire.sutre@gmail.com>
 
        * Makefile.in (LEX): new variable.
index a1671b200c9394a6eda539bf3f2fef430b5481eb..790b56ff6d2449d19ba37cb885ad6a06afe8847a 100644 (file)
@@ -219,8 +219,7 @@ else
 fi
 
 # Create the GRUB directory if it is not present.
-test -d "$bootdir" || mkdir "$bootdir" || exit 1
-test -d "$grubdir" || mkdir "$grubdir" || exit 1
+mkdir -p "$grubdir" || exit 1
 
 # If --recheck is specified, remove the device map, if present.
 if test $recheck = yes; then
index 2e9b0ca39e96c052ea60a73bd6ecbd36827336d8..cc4d950d2eeab3c901ee66dce55d1958a1e17043 100644 (file)
@@ -145,8 +145,7 @@ else
 fi
 
 # Create the GRUB directory if it is not present.
-test -d "$bootdir" || mkdir "$bootdir" || exit 1
-test -d "$grubdir" || mkdir "$grubdir" || exit 1
+mkdir -p "$grubdir" || exit 1
 
 # If --recheck is specified, remove the device map, if present.
 if test $recheck = yes; then
index be4053542440d4c2ce7d6fdf2feb93fdfa6aed21..363f312db9a889e066a72a7a273888e1fe6f4500 100644 (file)
@@ -141,8 +141,7 @@ fi
 # XXX warn on firmware-unreadable filesystems?
 
 # Create the GRUB directory if it is not present.
-test -d "$bootdir" || mkdir "$bootdir" || exit 1
-test -d "$grubdir" || mkdir "$grubdir" || exit 1
+mkdir -p "$grubdir" || exit 1
 
 # Create the device map file if it is not present.
 if test -f "$device_map"; then