This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:

Subject: configure.ac: drop printf for GIT_COMMIT_DATE
Author:  Hans Verkuil <hverkuil-ci...@xs4all.nl>
Date:    Wed Aug 11 15:50:04 2021 +0200

Drop the unnecessary printf '\"' and incorporate the " instead in
the --date='format-local:"%F %T"' option.

It looks like this was a partial copy-and-paste from GIT_COMMIT_CNT,
but it is unnecessarily complex for GIT_COMMIT_DATE.

Signed-off-by: Hans Verkuil <hverkuil-ci...@xs4all.nl>
Reported-by: Idar Tollefsen <itoll...@cisco.com>

 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=e9976a2ed5a2bca1669fc7e59e5b5baf268ebe03
diff --git a/configure.ac b/configure.ac
index 8710ab453116..3d0c8b029ef8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -594,7 +594,7 @@ AC_SUBST(GIT_SHA, ["-DGIT_SHA=\$(shell if test -e 
\$(top_srcdir)/.git ; then git
 AC_SUBST(GIT_COMMIT_CNT, ["-DGIT_COMMIT_CNT=\$(shell if test -e 
\$(top_srcdir)/.git ; then printf '-'; git -C \$(top_srcdir) rev-list --count 
HEAD ; fi)"])
 
 # Obtain git commit date of HEAD
-AC_SUBST(GIT_COMMIT_DATE, ["-DGIT_COMMIT_DATE=\$(shell if test -e 
\$(top_srcdir)/.git ; then printf '\"'; TZ=UTC git -C \$(top_srcdir) show 
--quiet --date='format-local:%F %T\"' --format=\"%cd\"; fi)"])
+AC_SUBST(GIT_COMMIT_DATE, ["-DGIT_COMMIT_DATE=\$(shell if test -e 
\$(top_srcdir)/.git ; then TZ=UTC git -C \$(top_srcdir) show --quiet 
--date='format-local:\"%F %T\"' --format='%cd'; fi)"])
 
 AM_COND_IF([WITH_LIBDVBV5], [USE_LIBDVBV5="yes"], [USE_LIBDVBV5="no"])
 AM_COND_IF([WITH_DVBV5_REMOTE], [USE_DVBV5_REMOTE="yes"

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to