This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

genini: always generate a timestamp


If genini is run from scratch (IOW without an existing setup.ini), no
setup-timestamp: is generated, which leads to unexpected behaviour from
setup.exe (e.g. "older than last time" warning).

Patch attached.


Yaakov

2010-06-08  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>

	* genini: always generate a current timestamp.

Index: genini
===================================================================
RCS file: /cvs/cygwin-apps/genini/genini,v
retrieving revision 1.12
diff -u -r1.12 genini
--- genini	14 Mar 2010 18:31:30 -0000	1.12
+++ genini	9 Jun 2010 04:37:41 -0000
@@ -45,7 +45,8 @@
 #
 EOF
 
-print "$main::setup_timestamp\n" if $main::setup_timestamp;
+my $ts = time();
+print "setup-timestamp: $ts\n";
 print "$main::setup_version\n" if $main::setup_version;
 
 undef $main::curfile;

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]