mirror of
https://github.com/moparisthebest/pacman
synced 2025-02-28 09:21:53 -05:00
POSIX shell does not specify meaning of source operation
Just use '.' operator instead. Oops. Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
b118ce55bd
commit
5f0c241987
@ -538,10 +538,10 @@ int _alpm_runscriptlet(const char *root, const char *installfn,
|
||||
_alpm_log(PM_LOG_DEBUG, "executing %s script...\n", script);
|
||||
|
||||
if(oldver) {
|
||||
snprintf(cmdline, PATH_MAX, "source %s %s %s %s",
|
||||
snprintf(cmdline, PATH_MAX, ". %s %s %s %s",
|
||||
scriptpath, script, ver, oldver);
|
||||
} else {
|
||||
snprintf(cmdline, PATH_MAX, "source %s %s %s",
|
||||
snprintf(cmdline, PATH_MAX, ". %s %s %s",
|
||||
scriptpath, script, ver);
|
||||
}
|
||||
_alpm_log(PM_LOG_DEBUG, "%s\n", cmdline);
|
||||
|
Loading…
x
Reference in New Issue
Block a user