summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-09-02 13:50:47 +0200
committerHolger Levsen <holger@layer-acht.org>2015-09-02 13:50:47 +0200
commitea2473c2ae2bc2a34d020a922b7528f1ac6d0a5d (patch)
treecfa15d42d1898485583163e6c2a739bf490c1075
parentb9b5441e8b893d2bcfad29111a02dca47b19a7a1 (diff)
downloadjenkins.debian.net-ea2473c2ae2bc2a34d020a922b7528f1ac6d0a5d.tar.xz
make sure /srv/workspace/chroots /srv/workspace/pbuilder always exist
-rwxr-xr-xbin/common-functions.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/common-functions.sh b/bin/common-functions.sh
index b8efa6f6..e144f04e 100755
--- a/bin/common-functions.sh
+++ b/bin/common-functions.sh
@@ -48,6 +48,8 @@ if [ "${0:0:5}" != "/tmp/" ] ; then
exit $?
# cleanup is done automatically via trap
else
+ # these two directories reside on tmpfs, so they might be gone after reboots...
+ mkdir -p /srv/workspace/chroots /srv/workspace/pbuilder
# default settings used for the jenkins.debian.net environment
if [ -z "$LC_ALL" ]; then
export LC_ALL=C.UTF-8