view netinstall/version.pl @ 1056:c2acbc874bf1

[xemacs-hg @ 2002-10-17 14:12:14 by stephent] PROBLEMS <8765w1dw2g.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Thu, 17 Oct 2002 14:12:17 +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";
  }
}