Allan McRae pushed to branch master at Pacman / Pacman


Commits:
cddad6fc by Andrew Gregory at 2024-03-04T01:33:51+00:00
conf: make prepend_dir and globdir NULL aware

Allows sysroot to be left NULL.

Signed-off-by: Andrew Gregory <andrew.gregor...@gmail.com>

- - - - -
9f6c0817 by Andrew Gregory at 2024-03-04T01:33:51+00:00
conf: do not default sysroot to /

Setting sysroot to / is not the same as having no sysroot, because the
sysroot is prepended to ALL config paths including relative ones:

$ cd /etc
$ pacman --config=pacman.conf
error: config file /pacman.conf could not be read: No such file or directory

Signed-off-by: Andrew Gregory <andrew.gregor...@gmail.com>

- - - - -


1 changed file:

- src/pacman/conf.c


View it on GitLab: 
https://gitlab.archlinux.org/pacman/pacman/-/compare/016fd2633e2285341eae383130627512f540f4e9...9f6c0817719edc9eb0618ce6dcbeb4bebf57d6ee

-- 
View it on GitLab: 
https://gitlab.archlinux.org/pacman/pacman/-/compare/016fd2633e2285341eae383130627512f540f4e9...9f6c0817719edc9eb0618ce6dcbeb4bebf57d6ee
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to