aboutsummaryrefslogtreecommitdiff
path: root/debianutils/which.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2015-10-19 00:52:26 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2015-10-19 00:52:26 +0200
commit28826ac8c02793431203edb4adb961d5521d643d (patch)
treefdc16e8bb697a047bc553a0e3b9d70a24885a3a0 /debianutils/which.c
parent854bb6879da7277446c7a943387e2880017804e0 (diff)
downloadbusybox-28826ac8c02793431203edb4adb961d5521d643d.tar.gz
debianutils/*: convert to new-style "one file" applets
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'debianutils/which.c')
-rw-r--r--debianutils/which.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/debianutils/which.c b/debianutils/which.c
index d50e7a0d3..c0f897809 100644
--- a/debianutils/which.c
+++ b/debianutils/which.c
@@ -5,6 +5,16 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
+//config:config WHICH
+//config: bool "which"
+//config: default y
+//config: help
+//config: which is used to find programs in your PATH and
+//config: print out their pathnames.
+
+//applet:IF_WHICH(APPLET(which, BB_DIR_USR_BIN, BB_SUID_DROP))
+
+//kbuild:lib-$(CONFIG_WHICH) += which.o
//usage:#define which_trivial_usage
//usage: "[COMMAND]..."