EXEC_PREFER_APPLETS support by Gabriel L. Somlo <somlo@cmu.edu>

This commit is contained in:
Denis Vlasenko
2007-02-06 01:20:12 +00:00
parent cc24419e98
commit 1d76f439da
22 changed files with 39 additions and 28 deletions

View File

@ -126,7 +126,7 @@ int install_main(int argc, char **argv)
ret = EXIT_FAILURE;
}
if (flags & OPT_STRIP) {
if (execlp("strip", "strip", dest, NULL) == -1) {
if (BB_EXECLP("strip", "strip", dest, NULL) == -1) {
bb_perror_msg("strip");
ret = EXIT_FAILURE;
}