view netinstall/version.pl @ 3763:142260edb7b5

[xemacs-hg @ 2006-12-28 12:15:23 by malcolmp] Use system malloc on ppc64, alpha and ia64.
author malcolmp
date Thu, 28 Dec 2006 12:15:38 +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";
  }
}