aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-user-mode-linux
diff options
context:
space:
mode:
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