Commit d86a5dd4 authored by Vesa Vertainen's avatar Vesa Vertainen

fixed build.sh (removing add2git was not working)

parent 41650bb6
Pipeline #83423341 passed with stage
in 17 minutes and 9 seconds
......@@ -186,7 +186,7 @@ if [ -d "${BUILD_PATH}/build" ]; then
echo -e "$WARNING Directory ${BUILD_PATH}/build exists... stopping and removing old containers"
WORKDIR=$(pwd)
cd "${BUILD_PATH}/build"
if [[ $(docker ps |grep -q add2git) ]]; then docker stop add2git.cincan.io;fi
if [[ $(docker ps |grep add2git) ]]; then docker stop add2git.cincan.io;fi
docker-compose down --volumes --rmi all
cd "${WORKDIR}"
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment