view netinstall/version.pl @ 500:cc01aa5e5784

[xemacs-hg @ 2001-05-03 07:40:12 by martinb] Fix crash with xlc -O3.
author martinb
date Thu, 03 May 2001 07:40:12 +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";
  }
}