aboutsummaryrefslogtreecommitdiff
path: root/pdebuild-internal
diff options
context:
space:
mode:
authorLoïc Minier <lool@dooz.org>2009-12-12 16:16:00 +0100
committerLoïc Minier <lool@dooz.org>2009-12-12 16:16:00 +0100
commitcca6306f82e354cb8b42f88f5cde2747110d602c (patch)
treede7fd3af31677cfe7aa0e65826dc585237bb01d9 /pdebuild-internal
parent4639b8e84cf47899655bbe9f04279493ed99ee01 (diff)
downloadpbuilder-cca6306f82e354cb8b42f88f5cde2747110d602c.tar
pbuilder-cca6306f82e354cb8b42f88f5cde2747110d602c.tar.gz
Log dpkg-buildpackage command lines
Diffstat (limited to 'pdebuild-internal')
-rw-r--r--pdebuild-internal4
1 files changed, 3 insertions, 1 deletions
diff --git a/pdebuild-internal b/pdebuild-internal
index 9c41931..948f6b6 100644
--- a/pdebuild-internal
+++ b/pdebuild-internal
@@ -119,9 +119,11 @@ executehooks "A"
# do build with that user.
export DEBBUILDOPTS
+CMD="/usr/bin/dpkg-buildpackage -rfakeroot -us -uc '\${DEBBUILDOPTS}'"
+echo "I: Running $CMD"
# This command should be ran with current directory as bind-mounted
# package source directory
-if echo /usr/bin/dpkg-buildpackage -rfakeroot -us -uc '${DEBBUILDOPTS}' | \
+if echo "$CMD" | \
su -p pbuser;
then
# build was successful