Skip to content

Commit

Permalink
install-helpers.sh: fix date template syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
fermino authored and zdykstra committed Jan 9, 2024
1 parent 4db7d29 commit 4868300
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zfsbootmenu/install-helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ install_zbm_osver() {
local build_date
[ -r "${zfsbootmenu_module_root}/zbm-release" ] || return 0
zbm_install_file "${zfsbootmenu_module_root}/zbm-release" "/etc/zbm-release"
if build_date="$(date %Y-%m-%d)"; then
if build_date="$(date '+%Y-%m-%d')"; then
cat >> "${BUILDROOT}/etc/zbm-release" <<-EOF
BUILD_ID="${build_date}"
EOF
Expand Down

0 comments on commit 4868300

Please sign in to comment.