view netinstall/version.pl @ 2598:2f5d53e62972

[xemacs-hg @ 2005-02-19 22:25:12 by viteno] Pui, adapt package name length in display.
author viteno
date Sat, 19 Feb 2005 22:25:13 +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";
  }
}