view netinstall/version.pl @ 2493:ec25549f1f43

[xemacs-hg @ 2005-01-21 09:58:40 by aidan] Small warning fix for NetBSD, w.r.t. u_int_8_t being redefined.
author aidan
date Fri, 21 Jan 2005 09:58:42 +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";
  }
}