aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-04-05 21:19:43 +0000
committerMike Frysinger <vapier@gentoo.org>2009-04-05 21:19:43 +0000
commit258275d85f8e58cba040fec1aad1131017c4a69d (patch)
tree0e09d5263d792229efb8d4471c2c9a2764cf2e73 /shell
parentc4a7af55e9c3cec111e34ac443fcc229004e2840 (diff)
downloadbusybox-w32-258275d85f8e58cba040fec1aad1131017c4a69d.tar.gz
busybox-w32-258275d85f8e58cba040fec1aad1131017c4a69d.tar.bz2
busybox-w32-258275d85f8e58cba040fec1aad1131017c4a69d.zip
drop HUSH_VER_STR since it has no relevance anymore -- just use BB_VER
Diffstat (limited to 'shell')
-rw-r--r--shell/hush.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/shell/hush.c b/shell/hush.c
index f8f7482b1..dbb38719a 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -84,8 +84,6 @@
84# define USE_FOR_MMU(...) 84# define USE_FOR_MMU(...)
85#endif 85#endif
86 86
87#define HUSH_VER_STR "0.93"
88
89#if defined SINGLE_APPLET_MAIN 87#if defined SINGLE_APPLET_MAIN
90/* STANDALONE does not make sense, and won't compile */ 88/* STANDALONE does not make sense, and won't compile */
91#undef CONFIG_FEATURE_SH_STANDALONE 89#undef CONFIG_FEATURE_SH_STANDALONE
@@ -240,7 +238,7 @@ static void xxfree(void *ptr)
240 238
241#define ERR_PTR ((void*)(long)1) 239#define ERR_PTR ((void*)(long)1)
242 240
243static const char hush_version_str[] ALIGN1 = "HUSH_VERSION="HUSH_VER_STR; 241static const char hush_version_str[] ALIGN1 = "HUSH_VERSION="BB_VER;
244 242
245#define JOB_STATUS_FORMAT "[%d] %-22s %.40s\n" 243#define JOB_STATUS_FORMAT "[%d] %-22s %.40s\n"
246 244
@@ -5293,7 +5291,7 @@ int hush_main(int argc, char **argv)
5293 */ 5291 */
5294 5292
5295 if (!ENABLE_FEATURE_SH_EXTRA_QUIET && G_interactive_fd) { 5293 if (!ENABLE_FEATURE_SH_EXTRA_QUIET && G_interactive_fd) {
5296 printf("\n\n%s hush - the humble shell v"HUSH_VER_STR"\n", bb_banner); 5294 printf("\n\n%s hush - the humble shell\n", bb_banner);
5297 printf("Enter 'help' for a list of built-in commands.\n\n"); 5295 printf("Enter 'help' for a list of built-in commands.\n\n");
5298 } 5296 }
5299 5297