about summary refs log tree commit diff
path: root/MakeTAGS
diff options
context:
space:
mode:
Diffstat (limited to 'MakeTAGS')
-rw-r--r--MakeTAGS4
1 files changed, 2 insertions, 2 deletions
diff --git a/MakeTAGS b/MakeTAGS
index a11ff9be48..da9cdd79c7 100644
--- a/MakeTAGS
+++ b/MakeTAGS
@@ -169,9 +169,9 @@ include $(common-objpfx)version.mk
 # The following code requires GNU date.
 $P/libc.pot: $(all-pot)
 	@rm -f $@.new
-	disp='set `date -R`; echo $$6'; \
+	set `date -R`; disp="$$6"; \
 	sed -e 's/VERSION/$(version)/' \
-	    -e "s/DATE/`date +'%Y-%m-%d %I:%M'$$disp/" \
+	    -e "s/DATE/`date +'%Y-%m-%d %H:%M'$$disp`/" \
 	    po/header.pot > $@.new
 	$(XGETTEXT) -d - --omit-header -n -s $^ >> $@.new
 	mv -f $@.new $@