Author: viric Date: 2010-06-16 15:17:02 +0000 (Wed, 16 Jun 2010) New Revision: 22297
You can view the changes in this commit at: https://svn.nixos.org/viewvc/nix?rev=22297&view=rev Modified: nixos/trunk/modules/installer/grub/grub-menu-builder.sh Log: Fixing my previous bad commit on stat. Thank you David! Changes: Modified: nixos/trunk/modules/installer/grub/grub-menu-builder.sh =================================================================== --- nixos/trunk/modules/installer/grub/grub-menu-builder.sh 2010-06-16 14:55:53 UTC (rev 22296) +++ nixos/trunk/modules/installer/grub/grub-menu-builder.sh 2010-06-16 15:17:02 UTC (rev 22297) @@ -30,7 +30,7 @@ # the GRUB config file must be relative to the root of the /boot # filesystem. `$bootRoot' is the path to be prepended to paths under # /boot. -if [ "$(stat -f -c '%D' /)" = "$(stat -f -c '%D' /boot)" ]; then +if [ "$(stat -c '%D' /.)" = "$(stat -c '%D' /boot/.)" ]; then bootRoot=/boot copyKernels="@copyKernels@" # user can override in the NixOS config else _______________________________________________ nix-commits mailing list [email protected] http://mail.cs.uu.nl/mailman/listinfo/nix-commits
