summaryrefslogtreecommitdiff
path: root/testing/docker/dmgr.sh
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2018-04-28 05:57:56 (GMT)
committerAlexey Neyman <stilor@att.net>2018-04-29 19:06:54 (GMT)
commitf6d8c2ffbd15197baeeabbb5dae836c6df0d234f (patch)
treeb797ca1e5831f171cebbd7049785ece921d4384b /testing/docker/dmgr.sh
parent51f0e7c649a84c66ce0111703498dc4466e35562 (diff)
Add docker testing for Gentoo
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'testing/docker/dmgr.sh')
-rwxr-xr-xtesting/docker/dmgr.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/testing/docker/dmgr.sh b/testing/docker/dmgr.sh
index 5dbb8b2..74539b4 100755
--- a/testing/docker/dmgr.sh
+++ b/testing/docker/dmgr.sh
@@ -83,7 +83,10 @@ action_clean()
local cntr=$1
msg "Cleaning up after ${cntr}"
- rm -rf build-${cntr}
+ if [ -d build-${cntr} ]; then
+ chmod -R +w build-${cntr}
+ rm -rf build-${cntr}
+ fi
}
action=$1