view netinstall/version.pl @ 3163:04a435415e1d

[xemacs-hg @ 2005-12-23 11:42:32 by stephent] undo spurious commit
author stephent
date Fri, 23 Dec 2005 11:42:35 +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";
  }
}