3
0
Fork 0
forked from mirrors/nixpkgs

Fixing my previous bad commit on stat. Thank you David!

svn path=/nixos/trunk/; revision=22297
This commit is contained in:
Lluís Batlle i Rossell 2010-06-16 15:17:02 +00:00
parent fbb3046a87
commit f69d7b1768

View file

@ -30,7 +30,7 @@ esac
# 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