view netinstall/version.pl @ 3817:caceb9db5b0a

[xemacs-hg @ 2007-02-06 20:01:40 by aidan] Fix a problem with specifiers I introduced.
author aidan
date Tue, 06 Feb 2007 20:01: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";
  }
}