view netinstall/version.pl @ 1467:e5da225ea2ca

[xemacs-hg @ 2003-05-09 09:50:40 by stephent] #define stat workaround <87r878ihhf.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Fri, 09 May 2003 09:50: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";
  }
}