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

fix test condition to delete cache

parent b29a6825
Branches
No related tags found
No related merge requests found
Pipeline #101594 passed
......@@ -110,7 +110,8 @@ if [ $action == "cleanup" ] || [ $action == "all" ]; then
check
comment "Cleanup tiles cache"
[ -f "$cache_dir/*.png" ] && find $cache_dir -name "*.png" -exec rm -f {} \;
# v v No double quotes otherwise wildcard will not be interpreted
[ -f $cache_dir/*.png ] && find $cache_dir -name "*.png" -exec rm -f {} \;
check
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment