diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-01-29 14:57:33 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-01-29 14:57:33 +0100 |
commit | 205d48e9480e3a60f2bf1094f67d837f1b44aea5 (patch) | |
tree | d395165adcaa9f2cb03372f126a38111c931dcbe /shell | |
parent | b4b12bf2344148976d1cd0f17bca0c0fbf7a364c (diff) | |
download | busybox-w32-205d48e9480e3a60f2bf1094f67d837f1b44aea5.tar.gz busybox-w32-205d48e9480e3a60f2bf1094f67d837f1b44aea5.tar.bz2 busybox-w32-205d48e9480e3a60f2bf1094f67d837f1b44aea5.zip |
*: add comment about APPLET_ODDNAME format
It confused me more than once
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ash.c | 3 | ||||
-rw-r--r-- | shell/hush.c | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/shell/ash.c b/shell/ash.c index d8f41327b..e07b81c05 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -136,7 +136,8 @@ | |||
136 | //config:endif # ash options | 136 | //config:endif # ash options |
137 | 137 | ||
138 | //applet:IF_ASH(APPLET(ash, BB_DIR_BIN, BB_SUID_DROP)) | 138 | //applet:IF_ASH(APPLET(ash, BB_DIR_BIN, BB_SUID_DROP)) |
139 | //applet:IF_SH_IS_ASH(APPLET_ODDNAME(sh, ash, BB_DIR_BIN, BB_SUID_DROP, ash)) | 139 | // APPLET_ODDNAME:name main location suid_type help |
140 | //applet:IF_SH_IS_ASH( APPLET_ODDNAME(sh, ash, BB_DIR_BIN, BB_SUID_DROP, ash)) | ||
140 | //applet:IF_BASH_IS_ASH(APPLET_ODDNAME(bash, ash, BB_DIR_BIN, BB_SUID_DROP, ash)) | 141 | //applet:IF_BASH_IS_ASH(APPLET_ODDNAME(bash, ash, BB_DIR_BIN, BB_SUID_DROP, ash)) |
141 | 142 | ||
142 | //kbuild:lib-$(CONFIG_ASH) += ash.o ash_ptr_hack.o shell_common.o | 143 | //kbuild:lib-$(CONFIG_ASH) += ash.o ash_ptr_hack.o shell_common.o |
diff --git a/shell/hush.c b/shell/hush.c index d90c1485a..4123cc19e 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -277,8 +277,9 @@ | |||
277 | //config: msh is deprecated and will be removed, please migrate to hush. | 277 | //config: msh is deprecated and will be removed, please migrate to hush. |
278 | 278 | ||
279 | //applet:IF_HUSH(APPLET(hush, BB_DIR_BIN, BB_SUID_DROP)) | 279 | //applet:IF_HUSH(APPLET(hush, BB_DIR_BIN, BB_SUID_DROP)) |
280 | //applet:IF_MSH(APPLET_ODDNAME(msh, hush, BB_DIR_BIN, BB_SUID_DROP, hush)) | 280 | // APPLET_ODDNAME:name main location suid_type help |
281 | //applet:IF_SH_IS_HUSH(APPLET_ODDNAME(sh, hush, BB_DIR_BIN, BB_SUID_DROP, hush)) | 281 | //applet:IF_MSH( APPLET_ODDNAME(msh, hush, BB_DIR_BIN, BB_SUID_DROP, hush)) |
282 | //applet:IF_SH_IS_HUSH( APPLET_ODDNAME(sh, hush, BB_DIR_BIN, BB_SUID_DROP, hush)) | ||
282 | //applet:IF_BASH_IS_HUSH(APPLET_ODDNAME(bash, hush, BB_DIR_BIN, BB_SUID_DROP, hush)) | 283 | //applet:IF_BASH_IS_HUSH(APPLET_ODDNAME(bash, hush, BB_DIR_BIN, BB_SUID_DROP, hush)) |
283 | 284 | ||
284 | //kbuild:lib-$(CONFIG_HUSH) += hush.o match.o shell_common.o | 285 | //kbuild:lib-$(CONFIG_HUSH) += hush.o match.o shell_common.o |