view netinstall/version.pl @ 1358:d64a370129c7

[xemacs-hg @ 2003-03-16 21:02:01 by youngs] A couple of minor updates to .cvsignore files, not worth a ChangeLog entry.
author youngs
date Sun, 16 Mar 2003 21:02:06 +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";
  }
}