view netinstall/version.pl @ 876:890f3cafe600

[xemacs-hg @ 2002-06-23 09:25:11 by stephent] unbreak GTK build <m1wusq8qgd.fsf@co3018576-a.rivrw1.nsw.optushome.com.au>
author stephent
date Sun, 23 Jun 2002 09:26:37 +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";
  }
}