view netinstall/version.pl @ 4684:15c42a3f4065

Do not move cursor position in gnuclient started buffer if user did not requested..
author It's me FKtPp \;) <m_pupil@yahoo.com.cn>
date Sat, 29 Aug 2009 22:37:50 +0800
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";
  }
}