view netinstall/version.pl @ 2075:c0dad8c0e80d

[xemacs-hg @ 2004-05-13 15:33:15 by james] Fix assertion failure noted by Malcolm Purvis, due to the fact that (eq (- most-negative-fixnum) most-negative-fixnum).
author james
date Thu, 13 May 2004 15:33:18 +0000
parents 3078fd1074e8
children
line wrap: on
line source

while (<STDIN>) {
  if (/^\$Revision:\s*([0-9\.]*)/) {
    print "char *version = \"$1\";\n";
    print "static char *id = \"\\n%%% setup-version $1\\n\";\n";
  }
}