aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-user-mode-linux
diff options
context:
space:
mode:
authordancer <dancer>2003-10-17 23:34:13 +0000
committerdancer <dancer>2003-10-17 23:34:13 +0000
commit744832981cbdd2f954b4239f6fba10b4e0f25fd9 (patch)
treef752a98ca96b715b44254cd7241d8a3ac631b5ae /pbuilder-user-mode-linux
parentc67e9ced5549d5f04e6644d4394a2208b91c2b40 (diff)
downloadpbuilder-744832981cbdd2f954b4239f6fba10b4e0f25fd9.tar
pbuilder-744832981cbdd2f954b4239f6fba10b4e0f25fd9.tar.gz
* pbuilder-user-mode-linux.1: update doc.
* pbuilder-user-mode-linux (UML_DEBUGMODE): error check if BUILDPLACE is user-accessible.
Diffstat (limited to 'pbuilder-user-mode-linux')
-rwxr-xr-xpbuilder-user-mode-linux6
1 files changed, 6 insertions, 0 deletions
diff --git a/pbuilder-user-mode-linux b/pbuilder-user-mode-linux
index 1bfc624..5b56380 100755
--- a/pbuilder-user-mode-linux
+++ b/pbuilder-user-mode-linux
@@ -245,6 +245,12 @@ while [ -n "$1" ] ; do
esac
done
+
+if ! touch "${BUILDPLACE}/touch" ; then
+ echo "E: Cannot touch ${BUILDPLACE}/touch, check BUILDPLACE" >&2
+ exit 1
+fi
+
BUILDING_DSC_FILE=$(readlink -f "$1") || true # ignore failure here
EXTRACLEANUP=
UML_EXITCODE=1