Skip to content
Snippets Groups Projects
Commit b29a6825 authored by Pierre-Gilles Levallois's avatar Pierre-Gilles Levallois
Browse files

fix test condition to delete cache

parent 8405de3c
No related branches found
No related tags found
No related merge requests found
Pipeline #101590 passed
...@@ -110,7 +110,7 @@ if [ $action == "cleanup" ] || [ $action == "all" ]; then ...@@ -110,7 +110,7 @@ if [ $action == "cleanup" ] || [ $action == "all" ]; then
check check
comment "Cleanup tiles cache" comment "Cleanup tiles cache"
[[ -d $cache_dir ]] && find $cache_dir -name "*.png" -exec rm -f {} \; [ -f "$cache_dir/*.png" ] && find $cache_dir -name "*.png" -exec rm -f {} \;
check check
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment