Package: builder
Version: 0.187
Tags: patch
Currently, a non-directory HOOKDIR is silently ignored. This is
especially bad, as ubuntu's README
https://code.launchpad.net/~kubuntu-members/pbuilder/pbuilder-hooks/
advertises HOOKDIR="/home/$USERNAME/.pbuilder-hooks", which gets
surprisingly expanded to /home/root/.pbuilder-hooks when using pdebuild.
Adding an else clause as follows at least gives the user a hint of why no
hooks are ever found:
if [ -d "$HOOKDIR" ]; then
[...]
else
log "W: HOOKDIR '$HOOKDIR' is not a directory"
fi
Now maybe some hind can be documented somewhere that $SUDO_USER can be
used for this purpose (although I'm not sure how it performs with things
like qemu-pbuilder and such).
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]