]> granicus.if.org Git - curl/commitdiff
mkhelp.pl: support reproducible build
authorJuro Bystricky <juro.bystricky@intel.com>
Fri, 27 Oct 2017 15:28:25 +0000 (08:28 -0700)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 30 Oct 2017 18:27:49 +0000 (19:27 +0100)
Do not generate line with the current date, such as:

* Generation time: Tue Oct-24 18:01:41 2017

This will improve reproducibility. The generated string is only
part of a comment, so there should be no adverse consequences.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
closes #2026

src/mkhelp.pl

index 270daa20a31186f39f51bcad78c30eb978312131..757f024ce5fd5a9db00b81cd6d5c213d8df0da6f 100755 (executable)
@@ -102,11 +102,9 @@ while(<READ>) {
 }
 close(READ);
 
-$now = localtime;
 print <<HEAD
 /*
  * NEVER EVER edit this manually, fix the mkhelp.pl script instead!
- * Generation time: $now
  */
 #ifdef USE_MANUAL
 #include "tool_hugehelp.h"