view netinstall/version.pl @ 4122:8fea628c26fb

[xemacs-hg @ 2007-08-17 08:01:13 by crestani] 2007-08-14 Marcus Crestani <crestani@xemacs.org> * s/sol2.h: Fix for GCC lossage not needed with SunOS 5.10.
author crestani
date Fri, 17 Aug 2007 08:01:23 +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";
  }
}