aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2021-08-11 15:50:04 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2021-08-11 15:50:04 +0200
commite9976a2ed5a2bca1669fc7e59e5b5baf268ebe03 (patch)
treee1efa5ef930e9dd63f0228d9d1dfef7c276b92c5
parentce02e60bf829f47d6c546ff7488425f3ea31bc2d (diff)
configure.ac: drop printf for GIT_COMMIT_DATE
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-cisco@xs4all.nl> Reported-by: Idar Tollefsen <itollefs@cisco.com>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 8710ab45..3d0c8b02 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"

Privacy Policy