view netinstall/version.pl @ 2235:767ec43eb39c

[xemacs-hg @ 2004-08-26 18:47:01 by james] Use RETURN_NOT_REACHED instead of plain return.
author james
date Thu, 26 Aug 2004 18:47:03 +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";
  }
}