mirror of
https://github.com/topjohnwu/ndk-busybox.git
synced 2024-12-13 14:36:00 +00:00
comment fix, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
3b405437b8
commit
0ad438b12a
@ -689,8 +689,9 @@ static int busybox_main(char **argv)
|
|||||||
busybox = xmalloc_readlink(bb_busybox_exec_path);
|
busybox = xmalloc_readlink(bb_busybox_exec_path);
|
||||||
if (!busybox)
|
if (!busybox)
|
||||||
busybox = bb_busybox_exec_path;
|
busybox = bb_busybox_exec_path;
|
||||||
/* -s makes symlinks, argv[3] is a custom defined */
|
/* busybox --install [-s] [DIR]: */
|
||||||
/* install directory or NULL to use the hardcoded defaults */
|
/* -s: make symlinks */
|
||||||
|
/* DIR: directory to install links to */
|
||||||
use_symbolic_links = (argv[2] && strcmp(argv[2], "-s") == 0 && argv++);
|
use_symbolic_links = (argv[2] && strcmp(argv[2], "-s") == 0 && argv++);
|
||||||
install_links(busybox, use_symbolic_links, argv[2]);
|
install_links(busybox, use_symbolic_links, argv[2]);
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user