diff netinstall/version.pl @ 448:3078fd1074e8 r21-2-39

Import from CVS: tag r21-2-39
author cvs
date Mon, 13 Aug 2007 11:38:25 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/netinstall/version.pl	Mon Aug 13 11:38:25 2007 +0200
@@ -0,0 +1,6 @@
+while (<STDIN>) {
+  if (/^\$Revision:\s*([0-9\.]*)/) {
+    print "char *version = \"$1\";\n";
+    print "static char *id = \"\\n%%% setup-version $1\\n\";\n";
+  }
+}