view netinstall/version.pl @ 3176:1c2a4e4e81d9

[xemacs-hg @ 2005-12-25 11:21:45 by aidan] Revert the alloc warning bugfix
author aidan
date Sun, 25 Dec 2005 11:21:46 +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";
  }
}