view netinstall/version.pl @ 2035:aaa6e4c4e653

[xemacs-hg @ 2004-04-19 14:49:01 by james] C++ build fix: unsigned char * -> char *.
author james
date Mon, 19 Apr 2004 14:49:07 +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";
  }
}