comment fix, no code changes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2009-07-15 02:14:15 +02:00
parent 3b405437b8
commit 0ad438b12a

View File

@ -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;