view netinstall/version.pl @ 1849:21549d437f09

[xemacs-hg @ 2004-01-03 21:54:41 by james] GCPROd variables cannot be declared REGISTER. Thanks to James McPherson.
author james
date Sat, 03 Jan 2004 21:54:42 +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";
  }
}