view netinstall/version.pl @ 807:7afc267f1c3c

[xemacs-hg @ 2002-04-05 12:10:37 by stephent] fix version stupidity
author stephent
date Fri, 05 Apr 2002 12:10:37 +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";
  }
}