view netinstall/version.pl @ 4257:ef6c55ab3090

[xemacs-hg @ 2007-11-08 14:43:38 by aidan] Fix corruption of ~/.emacs when trying to migrate an init file; thank you Jason Spiro!
author aidan
date Thu, 08 Nov 2007 14:43:40 +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";
  }
}