diff options
author | Loïc Minier <lool@dooz.org> | 2009-12-11 18:32:01 +0100 |
---|---|---|
committer | Loïc Minier <lool@dooz.org> | 2009-12-11 18:33:06 +0100 |
commit | 282d18c7c43af310c6d2adb52478b2cacdc1da53 (patch) | |
tree | 00bd16b907edde45f0ded63bff52f6743a49f404 /pbuilder-buildpackage | |
parent | 46a2ee8206c88e5b70f184d30b12106882adc516 (diff) | |
download | pbuilder-282d18c7c43af310c6d2adb52478b2cacdc1da53.tar pbuilder-282d18c7c43af310c6d2adb52478b2cacdc1da53.tar.gz |
Add support for building packages twice; #493538
Add support for building packages twice; based on a patch by
Nicolas Valcárcel; closes: #493538
Diffstat (limited to 'pbuilder-buildpackage')
-rwxr-xr-x | pbuilder-buildpackage | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage index 72181f5..e13380d 100755 --- a/pbuilder-buildpackage +++ b/pbuilder-buildpackage @@ -116,11 +116,11 @@ log "I: Building the package" executehooks "A" -DPKG_COMMANDLINE="cd tmp/buildd/*/; dpkg-buildpackage -us -uc ${DEBEMAIL:+\"-e$DEBEMAIL\"} $DEBBUILDOPTS" +DPKG_COMMANDLINE="dpkg-buildpackage -us -uc ${DEBEMAIL:+\"-e$DEBEMAIL\"} $DEBBUILDOPTS" ( : Build process - echo "${DPKG_COMMANDLINE}" | $CHROOTEXEC $SUTOUSER + echo "cd tmp/buildd/*/ && ${DPKG_COMMANDLINE}${TWICE:+ && ${DPKG_COMMANDLINE}}" | $CHROOTEXEC $SUTOUSER ) & BUILD_PID=$! if [ -n "${TIMEOUT_TIME}" ]; then |