[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tyndur-devel] [PATCH] Versionsstrings aktualisieren



* config.h: TYNDUR_VERSION auf 0.2.2 erhoehen
! init, shell: $Rev$ durch die tyndur-Versionsnummer ersetzen

Signed-off-by: Kevin Wolf <kevin@xxxxxxxxxx>
---
 src/include/lost/config.h       |    2 +-
 src/modules/c/shell/commmands.c |    5 +++--
 src/modules/init/init.c         |    2 +-
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/include/lost/config.h b/src/include/lost/config.h
index 2975fc6..a4582b4 100644
--- a/src/include/lost/config.h
+++ b/src/include/lost/config.h
@@ -74,7 +74,7 @@
 #define CONFIG_LIBC_NO_STUBS
 
 
-#define TYNDUR_VERSION "0.2.1"
+#define TYNDUR_VERSION "0.2.2"
 #define TYNDUR_RELEASE "Gothmog"
 
 #if CONFIG_ARCH == ARCH_I386
diff --git a/src/modules/c/shell/commmands.c b/src/modules/c/shell/commmands.c
index 6c33478..2d0fd7c 100644
--- a/src/modules/c/shell/commmands.c
+++ b/src/modules/c/shell/commmands.c
@@ -47,6 +47,8 @@
 #include <io.h>
 #include <env.h>
 
+#include <lost/config.h>
+
 
 //Hier koennen die Debug-Nachrichten aktiviert werden
 #define DEBUG 0
@@ -217,8 +219,7 @@ int shell_command_help(int argc, char* argv[], const char* args)
  */
 int shell_command_version(int argc, char* argv[], const char* args)
 {
-    puts("tyndur Shell v0.2");
-    puts("$Rev$");
+    puts("tyndur Shell " TYNDUR_VERSION);
     return 0;
 }
 
diff --git a/src/modules/init/init.c b/src/modules/init/init.c
index 89dafa5..3849701 100644
--- a/src/modules/init/init.c
+++ b/src/modules/init/init.c
@@ -147,7 +147,7 @@ static void parse_cmdline(void)
 
 void _start(dword modules)
 {
-    puts("\n\033[1;33mtyndur-Init $Rev$ \033[0;37m\n");
+    puts("\n\033[1;33mtyndur-Init " TYNDUR_VERSION " \033[0;37m\n");
 
     init_messaging();
     init_memory_manager();
-- 
1.6.0.2