view netinstall/version.pl @ 1094:4f4c898836ab

[xemacs-hg @ 2002-11-11 15:34:11 by stephent] crash message <87of8wyy85.fsf@tleepslib.sk.tsukuba.ac.jp> nas 1.6 <87isz4yy0o.fsf@tleepslib.sk.tsukuba.ac.jp> warning fixes <87el9syvg4.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Mon, 11 Nov 2002 15:34:13 +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";
  }
}