Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guard against the `BUILDDIR' setting in 'makepkg.conf' #93

Open
Alexander-Shukaev opened this issue Mar 8, 2017 · 0 comments
Open

Guard against the `BUILDDIR' setting in 'makepkg.conf' #93

Alexander-Shukaev opened this issue Mar 8, 2017 · 0 comments

Comments

@Alexander-Shukaev
Copy link

Alexander-Shukaev commented Mar 8, 2017

makepkg.conf has its own BUILDDIR setting. If this one is set to a different value than builddir in apacman.conf, this will cause problems. Give it a shot and see yourself. For instance:

builddir="/tmp/apacman-${UID}/build"
tmpdir="/tmp/apacman-${UID}/tmp"

and

BUILDDIR="/tmp/makepkg-${UID}/build"

To workaround this right now, I have to set some canary variable in apacman.conf, like INSIDE_APACMAN and only set BUILDDIR in makepkg.conf if INSIDE_APACMAN is not set.

#
# CANARY
#

export INSIDE_APACMAN=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant