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:
parent
fbb3046a87
commit
f69d7b1768
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue