aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-checkparams
diff options
context:
space:
mode:
Diffstat (limited to 'pbuilder-checkparams')
-rwxr-xr-xpbuilder-checkparams4
1 files changed, 3 insertions, 1 deletions
diff --git a/pbuilder-checkparams b/pbuilder-checkparams
index 2ca336d..b77879d 100755
--- a/pbuilder-checkparams
+++ b/pbuilder-checkparams
@@ -141,7 +141,9 @@ BUILDPLACE=${BUILDPLACE?"Build root directory is not defined"}
# the default is to add a PID in the buildplace specified in the config file.
BASEBUILDPLACE="$BUILDPLACE"
-BUILDPLACE="$BUILDPLACE/$$"
+if [ ! "${INTERNAL_BUILD_UML}" = "yes" ]; then
+ BUILDPLACE="$BUILDPLACE/$$"
+fi
if [ -z "${CHROOTEXEC}" ]; then
CHROOTEXEC="chroot $BUILDPLACE "
fi