view netinstall/version.pl @ 1928:ba24fcdb4cfe

[xemacs-hg @ 2004-02-25 20:05:32 by james] Fix C++ breakage from previous patch.
author james
date Wed, 25 Feb 2004 20:05:33 +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";
  }
}