view netinstall/version.pl @ 3888:099851392ea7

[xemacs-hg @ 2007-03-30 14:38:39 by stephent] Fix docstring typo. <87648iyel3.fsf@uwakimon.sk.tsukuba.ac.jp>
author stephent
date Fri, 30 Mar 2007 14:38:42 +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";
  }
}