view netinstall/version.pl @ 4193:6438d53aabcf

[xemacs-hg @ 2007-09-30 11:37:59 by aidan] Merge a CCL bugfix from GNU.
author aidan
date Sun, 30 Sep 2007 11:38:00 +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";
  }
}