view netinstall/version.pl @ 3989:53260b0cd16b

[xemacs-hg @ 2007-05-26 19:00:16 by aidan] Small speed improvement to eval, from Sebastian Freundt.
author aidan
date Sat, 26 May 2007 19:00:20 +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";
  }
}