view netinstall/version.pl @ 4517:5e8f6469169f

Fix up initial condition for skip-chars test.
author Stephen J. Turnbull <stephen@xemacs.org>
date Sat, 27 Sep 2008 16:34:40 +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";
  }
}