view netinstall/version.pl @ 599:55614ee2fb8d

[xemacs-hg @ 2001-06-01 06:30:08 by martinb] typo fix found by Alexey
author martinb
date Fri, 01 Jun 2001 06:30:08 +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";
  }
}