view netinstall/version.pl @ 4732:2491a837112c

Fix typo in test of equalp and add more tests.
author Stephen J. Turnbull <stephen@xemacs.org>
date Mon, 02 Nov 2009 14:00:49 +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";
  }
}