view netinstall/version.pl @ 5262:75bcb5bef459

Replace a doubled semi-colon with a single semi-colon, fns.c, for VS6's sake. src/ChangeLog addition: 2010-09-07 Aidan Kehoe <kehoea@parhasard.net> * fns.c (Freplace): Replace an accidental double semi-colon with a single semi-colon, hopefully fixing Vin's Visual Studio 6 build. (Visual Studio 2005 had no problem with it, oddly.)
author Aidan Kehoe <kehoea@parhasard.net>
date Tue, 07 Sep 2010 17:03:46 +0100
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";
  }
}