view netinstall/version.pl @ 1645:080d479edd32

[xemacs-hg @ 2003-08-26 14:03:57 by james] Nickolay Pakoulin's patch to make g++ compile database.c without error.
author james
date Tue, 26 Aug 2003 14:04:00 +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";
  }
}