We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 99bcea2 commit efca815Copy full SHA for efca815
.ci/travis/linux/script.sh
@@ -16,7 +16,7 @@
16
17
set -e
18
19
-mkdir -p "$CCACHE_DIR"
+mkdir -p "CCACHE_DIR_IMAGE_BUILD"
20
21
if [[ ${DOCKER_BUILD_QGIS_IMAGE} =~ true ]]; then
22
# copy ccache dir within QGIS source so it can be accessed from docker
@@ -33,7 +33,7 @@ if [[ ${DOCKER_BUILD_QGIS_IMAGE} =~ true ]]; then
33
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
34
docker push "qgis/qgis:${DOCKER_TAG}"
35
echo "Copy build cache from Docker container to Travis cache directory"
36
- rm -rf ${CCACHE_DIR_IMAGE_BUILD}/*
+ rm -rf "${CCACHE_DIR_IMAGE_BUILD:?}/"*
37
container_id=$(docker images -q "qgis/qgis:${DOCKER_TAG}")
38
docker cp ${container_id}:/usr/src/QGIS/.ccache_image_build ${CCACHE_DIR_IMAGE_BUILD}
39
popd
0 commit comments