index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2012-02-10 16:26:37 +1000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-02-13 10:02:35 -0600 |
commit | 3ba5391839b34823e97574cba2952d732c2729e0 (patch) | |
tree | 8436d07670395e27076da8d29201ea48450ab221 /lib/libalpm/trans.c | |
parent | 20a16f55b32da071d362c2fa3faf1f55285d13a9 (diff) |
-rw-r--r-- | lib/libalpm/trans.c | 2 |
diff --git a/lib/libalpm/trans.c b/lib/libalpm/trans.c index 5ceaaa70..dc75f577 100644 --- a/lib/libalpm/trans.c +++ b/lib/libalpm/trans.c @@ -277,7 +277,7 @@ int _alpm_runscriptlet(alpm_handle_t *handle, const char *filepath, const char *script, const char *ver, const char *oldver, int is_archive) { char cmdline[PATH_MAX]; - char *argv[] = { "sh", "-c", cmdline, NULL }; + char *argv[] = { SCRIPTLET_SHELL, "-c", cmdline, NULL }; char *tmpdir, *scriptfn = NULL, *scriptpath; int retval = 0; size_t len; |