view netinstall/version.pl @ 3102:a05d78a1685f

[xemacs-hg @ 2005-11-28 09:50:16 by crestani] Remove vdb-fake warning, die if POSIX checks fail.
author crestani
date Mon, 28 Nov 2005 09:50:20 +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";
  }
}