aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-buildpackage
diff options
context:
space:
mode:
authordancer <dancer>2002-02-19 18:11:56 +0000
committerdancer <dancer>2002-02-19 18:11:56 +0000
commit4949568c76f7c15610b4e2713f40982ebe51962b (patch)
tree57bfae51383b01cf60cd589f6c8468c15a3d5d5c /pbuilder-buildpackage
parentae7794be673eeb1f9a2d90b80ff3aafe6252d197 (diff)
downloadpbuilder-4949568c76f7c15610b4e2713f40982ebe51962b.tar
pbuilder-4949568c76f7c15610b4e2713f40982ebe51962b.tar.gz
fixed some bugs in the script, to make fakeroot work
Diffstat (limited to 'pbuilder-buildpackage')
-rwxr-xr-xpbuilder-buildpackage2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage
index 037f25d..39971e1 100755
--- a/pbuilder-buildpackage
+++ b/pbuilder-buildpackage
@@ -229,7 +229,7 @@ createbuilduser
echo Copying source file
copydsc "$PACKAGENAME" "$BUILDPLACE/tmp/buildd"
echo Extracting source
-if ! $CHROOTEXEC /bin/bash -c "( cd tmp/buildd; chown $BUILDUSERNAME:$BUILDUSERNAME *; $SUTOUSER /usr/bin/dpkg-source -x $(basename $PACKAGENAME) )"; then
+if ! $CHROOTEXEC /bin/bash -c "( cd tmp/buildd; chown $BUILDUSERNAME:$BUILDUSERNAME ../buildd *; $SUTOUSER /usr/bin/dpkg-source -x $(basename $PACKAGENAME) )"; then
echo "pbuilder: Failed extracting the source" >&2
umountproc_cleanbuildplace
exit 1;