view netinstall/version.pl @ 4825:2e1527b8385b

merge changes to get things to compile under cygwin
author Ben Wing <ben@xemacs.org>
date Thu, 24 Dec 2009 19:46:51 -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";
  }
}