view netinstall/version.pl @ 1479:84d95f07cb42

[xemacs-hg @ 2003-05-14 08:47:15 by youngs] 2003-05-14 Steve Youngs <youngs@xemacs.org> * package-get.el (package-get-require-signed-base-updates): Turn the PGP verification code back on.
author youngs
date Wed, 14 May 2003 08:47:15 +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";
  }
}