view netinstall/version.pl @ 526:a5ee2ca8672c

[xemacs-hg @ 2001-05-09 17:18:32 by ben] fix byte-compilation warnings.
author ben
date Wed, 09 May 2001 17:18:32 +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";
  }
}