view netinstall/version.pl @ 5037:e70a73f9243d

fix c-tests -------------------- ChangeLog entries follow: -------------------- src/ChangeLog addition: 2010-02-20 Ben Wing <ben@xemacs.org> * tests.c: Fix operation of c-tests.
author Ben Wing <ben@xemacs.org>
date Sat, 20 Feb 2010 03:45:15 -0600
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";
  }
}