view netinstall/version.pl @ 1253:fa27ca2c798c

[xemacs-hg @ 2003-02-03 22:50:06 by youngs] Teeny weeny typo - Thanks Adrian
author youngs
date Mon, 03 Feb 2003 22:50: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";
  }
}