view netinstall/version.pl @ 4484:d6e2e2e819d7

Merge.
author Aidan Kehoe <kehoea@parhasard.net>
date Sat, 26 Jul 2008 09:52:06 +0200
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";
  }
}