view netinstall/version.pl @ 889:aa5a731873df

[xemacs-hg @ 2002-06-28 14:24:23 by michaels] Sync with recent commits.
author michaels
date Fri, 28 Jun 2002 14:24:23 +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";
  }
}