view netinstall/version.pl @ 4544:dc578683fddd

Fix my syntax errors.
author Stephen J. Turnbull <stephen@xemacs.org>
date Mon, 29 Dec 2008 21:49:01 +0900
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";
  }
}