diff options
author | Loïc Minier <lool@dooz.org> | 2009-12-30 12:18:40 +0100 |
---|---|---|
committer | Loïc Minier <lool@dooz.org> | 2009-12-30 17:41:10 +0100 |
commit | 0241394dc3fa432739bb4241da2b58a0d80dacbe (patch) | |
tree | 5786b2e9974b2532c220953f23b73ac70f866d9a /pbuilder-createbuildenv | |
parent | 0e063b11822610435acc53577b48fb67375b5a9e (diff) | |
download | pbuilder-0241394dc3fa432739bb4241da2b58a0d80dacbe.tar pbuilder-0241394dc3fa432739bb4241da2b58a0d80dacbe.tar.gz |
pbuilder: Add --architecture and ARCHITECTURE flag
pbuilder: add support for setting the architecture on the command-line
and in pbuilderrc.
Diffstat (limited to 'pbuilder-createbuildenv')
-rwxr-xr-x | pbuilder-createbuildenv | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pbuilder-createbuildenv b/pbuilder-createbuildenv index 864e0a5..cf3eaaf 100755 --- a/pbuilder-createbuildenv +++ b/pbuilder-createbuildenv @@ -62,7 +62,7 @@ else exit 1 fi -if ! ( cd "$BUILDPLACE" && "${DEBOOTSTRAP}" "${DEBOOTSTRAPOPTS[@]}" "$DISTRIBUTION" . "$MIRRORSITE" $DEBOOTSTRAPSCRIPT ) ; then +if ! ( cd "$BUILDPLACE" && "${DEBOOTSTRAP}" ${ARCHITECTURE:+--arch=$ARCHITECTURE} "${DEBOOTSTRAPOPTS[@]}" "$DISTRIBUTION" . "$MIRRORSITE" $DEBOOTSTRAPSCRIPT ) ; then log "E: $DEBOOTSTRAP failed" exit 1 fi |