]> rtime.felk.cvut.cz Git - hercules2020/kcf.git/blobdiff - .travis.yml
Travis: Fix (and simplify) cache cleanup command
[hercules2020/kcf.git] / .travis.yml
index a8ddec50efa730a10e6acced4965e19adde9a868..3645b59936bdcc0587cc65614eefba461d8a5c0c 100644 (file)
@@ -47,6 +47,6 @@ matrix:
       addons:
         apt: { sources: *common_sources, packages: [*common_packages, unzip] }
 
-before_cache: if [ -d vot2016 ]; then find -name output.txt -o -name core -print0 | xargs -0 rm -f; fi
+before_cache: rm -f vot2016/*/{output.txt,core}
 cache:
   directories: [ vot2016 ]