Exporting ARCH to pbuilder through pdebuild?
I have some configurations inside of my ~/.pbuilderrc that depend on the
value of ARCH in the environment. However, if I call pbuilder through
pdebuild, it doesn't seem to be picking up the ARCH environment
variable.
Currently, I'm calling it like so:
export ARCH=i386
pdebuild --auto-debsign --buildresult /tmp/$(basename $PWD) \
--debsign-k 0xABCDEFGH
but pbuilder doesn't pick it up here:
: ${ARCH:="$(dpkg --print-architecture)"}
How can I ensure that pdebuild is passing on the right architecture to
pbuilder?
--
"Oh, look: rocks!"
-- Doctor Who, "Destiny of the Daleks"
Reply to: