view netinstall/version.pl @ 4010:9f82475ea0c9

[xemacs-hg @ 2007-06-12 14:31:59 by adrian] ChangeLog header format cleanup and removal of EOL whitespace.
author adrian
date Tue, 12 Jun 2007 14:31:59 +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";
  }
}