view netinstall/version.pl @ 2584:96d5f81e234f

[xemacs-hg @ 2005-02-14 03:40:45 by vins] Security fixes for CAN-2005-0100.
author vins
date Mon, 14 Feb 2005 03:40:45 +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";
  }
}