aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-checkparams
diff options
context:
space:
mode:
authordancer <dancer>2002-10-28 04:02:49 +0000
committerdancer <dancer>2002-10-28 04:02:49 +0000
commit78b06e69368987a65f00ab0d7c68e279a36a0946 (patch)
treeec7200d65407d0795f39cba9dc42acb1e14f4bf8 /pbuilder-checkparams
parenta8d651b4d1e763debbf6d53b8cf332d776397e5e (diff)
downloadpbuilder-78b06e69368987a65f00ab0d7c68e279a36a0946.tar
pbuilder-78b06e69368987a65f00ab0d7c68e279a36a0946.tar.gz
+ * pbuilder-checkparams (BASEBUILDPLACE): check for user-mode-linux operation,
+ Reported by ranty@debian.org + Bug: #166194 +
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