]> git.proxmox.com Git - grub2.git/commit
grub-mkconfig: Use -c instead of --printf for stat
authorOvidiu Panait <ovidiu.panait@windriver.com>
Tue, 14 May 2019 08:40:55 +0000 (11:40 +0300)
committerDaniel Kiper <daniel.kiper@oracle.com>
Mon, 20 May 2019 10:59:36 +0000 (12:59 +0200)
commit4ff34fefe4d99bc9511c0d9d64aacb79908d2b1c
treea077c0694922627e3a9ee8d7d9eeceef44ed94e8
parenta06b079a360618ff6c83bc2014045a5ac0c9d072
grub-mkconfig: Use -c instead of --printf for stat

"--printf" only works with the stat variant provided by coreutils.

With busybox, stat will fail with the following error:
stat: unrecognized option '--printf=%T'

Usage: stat [OPTIONS] FILE...

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
util/grub-mkconfig.in