mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] rules/rootfs.make: Fix date call
@ 2012-04-26 10:37 Bernhard Walle
  0 siblings, 0 replies; only message in thread
From: Bernhard Walle @ 2012-04-26 10:37 UTC (permalink / raw)
  To: ptxdist

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-04-26 10:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-26 10:37 [ptxdist] [PATCH] rules/rootfs.make: Fix date call Bernhard Walle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox