projects
/
oweals
/
opkg-lede.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libopkg: specify "/bin/sh" instead of "sh"
[oweals/opkg-lede.git]
/
libopkg
/
opkg_cmd.c
diff --git
a/libopkg/opkg_cmd.c
b/libopkg/opkg_cmd.c
index 543eef4abacfe38d2d5bd284e121199332db988b..d52bcb13915ed759ab90d35102ef650fb6008ccc 100644
(file)
--- a/
libopkg/opkg_cmd.c
+++ b/
libopkg/opkg_cmd.c
@@
-254,7
+254,7
@@
static int opkg_finalize_intercepts(opkg_intercept_t ctx)
sprintf_alloc(&path, "%s/%s", ctx->statedir,
de->d_name);
if (access(path, X_OK) == 0) {
- const char *argv[] = { "sh", "-c", path, NULL };
+ const char *argv[] = { "
/bin/
sh", "-c", path, NULL };
xsystem(argv);
}
free(path);