From fd54055397fe865ba0b08ac15b64147ad46ac571 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 8 May 2017 14:35:40 +0200 Subject: [PATCH] Fix test for directory --- id-deb-build/docker-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/id-deb-build/docker-build.sh b/id-deb-build/docker-build.sh index f09202a..507f081 100755 --- a/id-deb-build/docker-build.sh +++ b/id-deb-build/docker-build.sh @@ -34,7 +34,7 @@ prepare_deb() DISTS=$2 for dist in ${DISTS}; do - test -f build/$TYPE/$dist && sudo rm -fr build/$TYPE/$dist + test -d build/$TYPE/$dist && sudo rm -fr build/$TYPE/$dist mkdir -p build/$TYPE cp -a deb-src build/$TYPE/$dist cp ${ID_DEB_BUILD}/in-docker-deb.sh build/$TYPE/$dist -- 1.7.10.4