view netinstall/version.pl @ 3100:902a82391129

[xemacs-hg @ 2005-11-27 10:51:24 by crestani] Remove NEWGC junk.
author crestani
date Sun, 27 Nov 2005 10:51:25 +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";
  }
}