view netinstall/version.pl @ 700:7ed609678bb5

[xemacs-hg @ 2001-12-17 15:45:11 by adrian] [PATCH APPROVE RECOMMEND 21.4] .cvsignore generated info files [was: cvs updating] <heqrqc0k.fsf_-_@mailto.t-online.de>
author adrian
date Mon, 17 Dec 2001 15:45:11 +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";
  }
}