summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorVasily Melenchuk <vasily.melenchuk@cib.de>2024-04-19 13:14:13 +0300
committerThorsten Behrens <thorsten.behrens@allotropia.de>2024-04-22 14:38:34 +0200
commit07137ccd7fbbf3afb1cabfc6ca71375293910a3a (patch)
tree71948c033e74a3825b0697f467cd4b610b0dc0fb /configure.ac
parent9f98223f22843058568552cce98417799c096ed9 (diff)
configure: cygwin issue with date fixed
previous variant was causing: "bash: /dev/null: ambiguous redirect" and value was written Change-Id: Ic8762a98f11ef2fee669478b5694ae1c5fb0b8ce Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166294 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 4d96c1e90cf5..8c434dd5243e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -519,7 +519,7 @@ AC_DEFINE_UNQUOTED(LIBO_VERSION_MINOR,$LIBO_VERSION_MINOR)
AC_DEFINE_UNQUOTED(LIBO_VERSION_MICRO,$LIBO_VERSION_MICRO)
AC_DEFINE_UNQUOTED(LIBO_VERSION_PATCH,$LIBO_VERSION_PATCH)
-git_date=`git log -1 --pretty=format:"%cd" --date=format:'%Y' 2>&/dev/null`
+git_date=`git log -1 --pretty=format:"%cd" --date=format:'%Y' 2>/dev/null`
LIBO_THIS_YEAR=${git_date:-2024}
AC_DEFINE_UNQUOTED(LIBO_THIS_YEAR,$LIBO_THIS_YEAR)