view netinstall/version.pl @ 1371:53966c86d1b8

[xemacs-hg @ 2003-03-22 21:57:47 by adrian] Fix typo.
author adrian
date Sat, 22 Mar 2003 21:57:47 +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";
  }
}