view netinstall/version.pl @ 4104:23d7fde3d773

[xemacs-hg @ 2007-08-08 14:54:41 by aidan] Merge a bug fix from Sebastian Freundt's SXEmacs work.
author aidan
date Wed, 08 Aug 2007 14:54:43 +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";
  }
}