General description of the problem:
If the PKGDEST variable is modified in the makepkg configuration, aconfmgr fails to find the first AUR package it compiles, preventing to update the configuration.
I found the offending line in common.bash#L1415, the directory path is hardcoded.
I can fix the issue and send a PR, but since 6.1.0 makepkg can have drop-ins inside /etc/makepkg.conf.d, it would mean to parse them too?
Steps to reproduce the problem:
- Edit
/etc/makepkg.conf
- Change the PKGDEST variable e.g.
/tmp/makepkg/_pkg
- Check the configuration
$ aconfmgr save
Configuration:
No response
Expected result:
aconfmgr updates the configuration.
Actual result:
aconfmgr stops after the first compiled AUR package.
Log:
Unable to find package file for package foo!
Additional context:
No response
General description of the problem:
If the
PKGDESTvariable is modified in the makepkg configuration, aconfmgr fails to find the first AUR package it compiles, preventing to update the configuration.I found the offending line in common.bash#L1415, the directory path is hardcoded.
I can fix the issue and send a PR, but since 6.1.0 makepkg can have drop-ins inside
/etc/makepkg.conf.d, it would mean to parse them too?Steps to reproduce the problem:
/etc/makepkg.conf/tmp/makepkg/_pkg$ aconfmgr saveConfiguration:
No response
Expected result:
aconfmgr updates the configuration.
Actual result:
aconfmgr stops after the first compiled AUR package.
Log:
Additional context:
No response