Skip to content

Commit 4868300

Browse files
ferminozdykstra
authored andcommitted
install-helpers.sh: fix date template syntax
1 parent 4db7d29 commit 4868300

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zfsbootmenu/install-helpers.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ install_zbm_osver() {
262262
local build_date
263263
[ -r "${zfsbootmenu_module_root}/zbm-release" ] || return 0
264264
zbm_install_file "${zfsbootmenu_module_root}/zbm-release" "/etc/zbm-release"
265-
if build_date="$(date %Y-%m-%d)"; then
265+
if build_date="$(date '+%Y-%m-%d')"; then
266266
cat >> "${BUILDROOT}/etc/zbm-release" <<-EOF
267267
BUILD_ID="${build_date}"
268268
EOF

0 commit comments

Comments
 (0)