projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b40543
)
comment fix, no code changes
author
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 15 Jul 2009 00:14:15 +0000
(
02:14
+0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 15 Jul 2009 00:14:15 +0000
(
02:14
+0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libbb/appletlib.c
patch
|
blob
|
history
diff --git
a/libbb/appletlib.c
b/libbb/appletlib.c
index b19680808f8a00815d53cfa02c8a3009d0220df9..835d42c571203e0cd5f5f78772d003fa114da5ad 100644
(file)
--- a/
libbb/appletlib.c
+++ b/
libbb/appletlib.c
@@
-689,8
+689,9
@@
static int busybox_main(char **argv)
busybox = xmalloc_readlink(bb_busybox_exec_path);
if (!busybox)
busybox = bb_busybox_exec_path;
- /* -s makes symlinks, argv[3] is a custom defined */
- /* install directory or NULL to use the hardcoded defaults */
+ /* busybox --install [-s] [DIR]: */
+ /* -s: make symlinks */
+ /* DIR: directory to install links to */
use_symbolic_links = (argv[2] && strcmp(argv[2], "-s") == 0 && argv++);
install_links(busybox, use_symbolic_links, argv[2]);
return 0;