summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger2009-04-05 21:19:43 +0000
committerMike Frysinger2009-04-05 21:19:43 +0000
commit258275d85f8e58cba040fec1aad1131017c4a69d (patch)
tree0e09d5263d792229efb8d4471c2c9a2764cf2e73
parentc4a7af55e9c3cec111e34ac443fcc229004e2840 (diff)
downloadbusybox-258275d85f8e58cba040fec1aad1131017c4a69d.zip
busybox-258275d85f8e58cba040fec1aad1131017c4a69d.tar.gz
drop HUSH_VER_STR since it has no relevance anymore -- just use BB_VER
-rw-r--r--shell/hush.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/shell/hush.c b/shell/hush.c
index f8f7482..dbb3871 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -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 @@ static void xxfree(void *ptr)
#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 @@ int hush_main(int argc, char **argv)
*/
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");
}