view netinstall/version.pl @ 1887:1e5b7843dfa0

[xemacs-hg @ 2004-01-27 17:55:15 by james] Shut up compiler warnings from ICC 8.0 about signed 1-bit fields.
author james
date Tue, 27 Jan 2004 17:55: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";
  }
}