view netinstall/version.pl @ 1651:d3af5b868526

[xemacs-hg @ 2003-08-28 15:45:20 by james] The usual second commit for the toplevel due to unknown brain damage.
author james
date Thu, 28 Aug 2003 15:45:30 +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";
  }
}