view netinstall/version.pl @ 5210:23f00bfd78a4

Merge.
author Aidan Kehoe <kehoea@parhasard.net>
date Fri, 07 May 2010 14:35:00 +0100
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";
  }
}