diff options
author | Loïc Minier <lool@dooz.org> | 2009-12-12 16:16:00 +0100 |
---|---|---|
committer | Loïc Minier <lool@dooz.org> | 2009-12-12 16:16:00 +0100 |
commit | cca6306f82e354cb8b42f88f5cde2747110d602c (patch) | |
tree | de7fd3af31677cfe7aa0e65826dc585237bb01d9 /pbuilder-buildpackage | |
parent | 4639b8e84cf47899655bbe9f04279493ed99ee01 (diff) | |
download | pbuilder-cca6306f82e354cb8b42f88f5cde2747110d602c.tar pbuilder-cca6306f82e354cb8b42f88f5cde2747110d602c.tar.gz |
Log dpkg-buildpackage command lines
Diffstat (limited to 'pbuilder-buildpackage')
-rwxr-xr-x | pbuilder-buildpackage | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage index e13380d..c386628 100755 --- a/pbuilder-buildpackage +++ b/pbuilder-buildpackage @@ -120,7 +120,12 @@ DPKG_COMMANDLINE="dpkg-buildpackage -us -uc ${DEBEMAIL:+\"-e$DEBEMAIL\"} $DEBBUI ( : Build process - echo "cd tmp/buildd/*/ && ${DPKG_COMMANDLINE}${TWICE:+ && ${DPKG_COMMANDLINE}}" | $CHROOTEXEC $SUTOUSER + if [ -n "$TWICE" ]; then + DPKG_COMMANDLINE="$DPKG_COMMANDLINE && $DPKG_COMMANDLINE" + fi + DPKG_COMMANDLINE="cd tmp/buildd/*/ && $DPKG_COMMANDLINE" + log "I: Running $DPKG_COMMANDLINE" + echo "$DPKG_COMMANDLINE" | $CHROOTEXEC $SUTOUSER ) & BUILD_PID=$! if [ -n "${TIMEOUT_TIME}" ]; then |