view netinstall/version.pl @ 3161:78cf83b934a0

[xemacs-hg @ 2005-12-23 11:33:38 by stephent] Three typos fixed.
author stephent
date Fri, 23 Dec 2005 11:33:39 +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";
  }
}