view netinstall/version.pl @ 3999:a0ef33811aa3

[xemacs-hg @ 2007-06-03 17:32:28 by aidan] Don't sniff the file-name-coding-system for OS X; use utf-8.
author aidan
date Sun, 03 Jun 2007 17:32:38 +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";
  }
}