From: Adam Dickmeiss Date: Mon, 8 May 2017 12:35:40 +0000 (+0200) Subject: Fix test for directory X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=HEAD;p=git-tools-moved-to-github.git Fix test for directory --- 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