I don't like the assumption either -- my .pbuilderrc sets BASETGZ to
something else.  What about spawning a shell that does something like
the following:

    for f in /etc/pbuilderrc "${HOME}"/.pbuilderrc; do
        ! [ -f "${f}" ] || . "${f}" || exit 1
    done
    printf %s "${BASETGZ:-/var/cache/pbuilder/base.tgz}"

and then capture its output.  That output should be the filename whose
existence should be tested for pbuilder builds.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/823829

Title:
  [backportpackage] create chroot if necessary

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/823829/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to