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
/
pkg.c
diff --git
a/libopkg/pkg.c
b/libopkg/pkg.c
index 5370cf94e506cf9bb715564a997181a7f7e2d63f..313e691d5159aa2201d137ceb341a3485ad9ed0f 100644
(file)
--- a/
libopkg/pkg.c
+++ b/
libopkg/pkg.c
@@
-1401,7
+1401,7
@@
int pkg_run_script(pkg_t * pkg, const char *script, const char *args)
sprintf_alloc(&cmd, "%s %s", path, args);
free(path);
{
- const char *argv[] = { "sh", "-c", cmd, NULL };
+ const char *argv[] = { "
/bin/
sh", "-c", cmd, NULL };
err = xsystem(argv);
}
free(cmd);