mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Bernhard Walle <bernhard@bwalle.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] rules/rootfs.make: Fix date call
Date: Thu, 26 Apr 2012 12:37:59 +0200	[thread overview]
Message-ID: <1335436679-11344-1-git-send-email-bernhard@bwalle.de> (raw)

Apply the fix in 1139f0eb294834d54fbb4f1513e8696209839604 also to the
second invocation of date which my commit
c13c4ac2ddc6a5e2614073236c665ffe7e2e2c04 broke.

It fixes the problem that the date part of the timestamp contained
minutes (%M) instead of the month (%m).

Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
---
 rules/rootfs.make |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rules/rootfs.make b/rules/rootfs.make
index ed30235..8306c53 100644
--- a/rules/rootfs.make
+++ b/rules/rootfs.make
@@ -185,7 +185,7 @@ ifdef PTXCONF_ROOTFS_ISSUE
 	@$(call install_replace, rootfs, /etc/issue, \
 		@EXTRAVERSION@, $(PTXDIST_VERSION_SCM))
 	@$(call install_replace, rootfs, /etc/issue, \
-		@DATE@, $(shell date +%Y-%M-%dT%H:%M:%S%z))
+		@DATE@, $(shell date +%FT%T%z))
 	@$(call install_replace, rootfs, /etc/issue, \
 		@VENDOR@, $(PTXCONF_PROJECT_VENDOR))
 	@$(call install_replace, rootfs, /etc/issue, \
-- 
1.7.10


-- 
ptxdist mailing list
ptxdist@pengutronix.de

                 reply	other threads:[~2012-04-26 10:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1335436679-11344-1-git-send-email-bernhard@bwalle.de \
    --to=bernhard@bwalle.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox