diff options
author | Loïc Minier <lool@dooz.org> | 2009-12-30 17:38:09 +0100 |
---|---|---|
committer | Loïc Minier <lool@dooz.org> | 2009-12-30 17:41:10 +0100 |
commit | 9c199e6ebd00b41e77472941ae92c526bdcec8ae (patch) | |
tree | 9d84c6c8d760d8edc9e901c8caf9435626aaf2d1 /pdebuild | |
parent | 0241394dc3fa432739bb4241da2b58a0d80dacbe (diff) | |
download | pbuilder-9c199e6ebd00b41e77472941ae92c526bdcec8ae.tar pbuilder-9c199e6ebd00b41e77472941ae92c526bdcec8ae.tar.gz |
pdebuild: Add architecture flag; #516625
pdebuild: add support for setting the architecture on the command-line
and in pbuilderrc; closes: #516625.
Diffstat (limited to 'pdebuild')
-rw-r--r-- | pdebuild | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -31,7 +31,7 @@ fi; PKG_SOURCENAME=$(dpkg-parsechangelog|sed -n 's/^Source: //p') PKG_VERSION=$(dpkg-parsechangelog|sed -n 's/^Version: \(.*:\|\)//p') -ARCHITECTURE=$(dpkg-architecture -qDEB_HOST_ARCH) +ARCHITECTURE="${ARCHITECTURE:-`dpkg-architecture -qDEB_HOST_ARCH`}" CHANGES="${PKG_SOURCENAME}_${PKG_VERSION}_${ARCHITECTURE}.changes" if [ -z "${PBUILDER_BUILD_LOGFILE}" ]; then |