svn commit: [25967] trunk/busybox/shell

vapier at busybox.net vapier at busybox.net
Sun Apr 5 21:19:43 UTC 2009


Author: vapier
Date: 2009-04-05 21:19:43 +0000 (Sun, 05 Apr 2009)
New Revision: 25967

Log:
drop HUSH_VER_STR since it has no relevance anymore -- just use BB_VER

Modified:
   trunk/busybox/shell/hush.c


Changeset:
Modified: trunk/busybox/shell/hush.c
===================================================================
--- trunk/busybox/shell/hush.c	2009-04-05 20:33:27 UTC (rev 25966)
+++ trunk/busybox/shell/hush.c	2009-04-05 21:19:43 UTC (rev 25967)
@@ -84,8 +84,6 @@
 # define USE_FOR_MMU(...)
 #endif
 
-#define HUSH_VER_STR "0.93"
-
 #if defined SINGLE_APPLET_MAIN
 /* STANDALONE does not make sense, and won't compile */
 #undef CONFIG_FEATURE_SH_STANDALONE
@@ -240,7 +238,7 @@
 
 #define ERR_PTR ((void*)(long)1)
 
-static const char hush_version_str[] ALIGN1 = "HUSH_VERSION="HUSH_VER_STR;
+static const char hush_version_str[] ALIGN1 = "HUSH_VERSION="BB_VER;
 
 #define JOB_STATUS_FORMAT "[%d] %-22s %.40s\n"
 
@@ -5293,7 +5291,7 @@
 	 */
 
 	if (!ENABLE_FEATURE_SH_EXTRA_QUIET && G_interactive_fd) {
-		printf("\n\n%s hush - the humble shell v"HUSH_VER_STR"\n", bb_banner);
+		printf("\n\n%s hush - the humble shell\n", bb_banner);
 		printf("Enter 'help' for a list of built-in commands.\n\n");
 	}
 



More information about the busybox-cvs mailing list