gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r37728 - gnunet-gtk


From: gnunet
Subject: [GNUnet-SVN] r37728 - gnunet-gtk
Date: Wed, 17 Aug 2016 00:30:52 +0200

Author: grothoff
Date: 2016-08-17 00:30:52 +0200 (Wed, 17 Aug 2016)
New Revision: 37728

Modified:
   gnunet-gtk/configure.ac
Log:
-fix #4617

Modified: gnunet-gtk/configure.ac
===================================================================
--- gnunet-gtk/configure.ac     2016-08-16 18:55:52 UTC (rev 37727)
+++ gnunet-gtk/configure.ac     2016-08-16 22:30:52 UTC (rev 37728)
@@ -520,7 +520,11 @@
 AC_SUBST(GNUNET_STATISTICS_GTK_YEARFROM, [2010], [year of the first release])
 AC_SUBST(GNUNET_SETUP_GTK_YEARFROM, [2010], [year of the first release])
 
-thisyear=$(date | sed -e 's/.* \([[[:digit:]]]\+\)$/\1/')
+if test -n "$SOURCE_DATE_EPOCH"; then
+       thisyear=$(date --utc --date="@SOURCE_DATE_EPOCH" +%Y)
+else
+       thisyear=$(date +%Y)
+fi
 AC_SUBST(GNUNET_FS_GTK_YEARTO, ${thisyear}, [year of the most current release])
 AC_SUBST(GNUNET_PEERINFO_GTK_YEARTO, ${thisyear}, [year of the most current 
release])
 AC_SUBST(GNUNET_STATISTICS_GTK_YEARTO, ${thisyear}, [year of the most current 
release])




reply via email to

[Prev in Thread] Current Thread [Next in Thread]