diff options
author | dancer <dancer> | 2002-12-12 08:56:05 +0000 |
---|---|---|
committer | dancer <dancer> | 2002-12-12 08:56:05 +0000 |
commit | 338d228d31541bdc2cdb0db373d21ee52e137607 (patch) | |
tree | 0f506d5df3d2953b14a08b06ee357763ed95c2b4 /pdebuild | |
parent | 92062470a701aaffb37c63c6b92c35578fe3edce (diff) | |
download | pbuilder-338d228d31541bdc2cdb0db373d21ee52e137607.tar pbuilder-338d228d31541bdc2cdb0db373d21ee52e137607.tar.gz |
--auto-debsign option
Diffstat (limited to 'pdebuild')
-rw-r--r-- | pdebuild | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -11,6 +11,13 @@ if test ! -d ./debian; then fi; . /usr/lib/pbuilder/pbuilder-checkparams -dpkg-buildpackage -S -us -uc -r$BUILDSOURCEROOTCMD || true -$PBUILDERROOTCMD pbuilder build "$@" ../$(dpkg-parsechangelog|sed -n 's/^Source: //p')_$(dpkg-parsechangelog|sed -n 's/^Version: \(.*:\|\)//p').dsc + +PKG_SOURCENAME=$(dpkg-parsechangelog|sed -n 's/^Source: //p') +PKG_VERSION=$(dpkg-parsechangelog|sed -n 's/^Version: \(.*:\|\)//p') + +dpkg-buildpackage -S -us -uc -r${BUILDSOURCEROOTCMD} || true +${PBUILDERROOTCMD} pbuilder build "$@" --buildresult "${BUILDRESULT}" ../"${PKG_SOURCENAME}_${PKG_VERSION}".dsc +if [ "${AUTO_DEBSIGN}" = "yes" ]; then + debsign "${BUILDRESULT}/${PKG_SOURCENAME}_${PKG_VERSION}.dsc" +fi |