view netinstall/version.pl @ 1659:4f19b0887593

[xemacs-hg @ 2003-09-01 02:50:45 by youngs] Update it
author youngs
date Mon, 01 Sep 2003 02:50:45 +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";
  }
}