Ignore missing files during "rm -r"

This commit is contained in:
Michal Schorm 2021-05-12 04:43:36 +02:00
parent 7f8a0e15a6
commit b3ff1d5772

View File

@ -756,7 +756,7 @@ find . -name "*.jar" -type f -exec rm --verbose -f {} \;
# Remove testsuite for the mariadb-connector-c # Remove testsuite for the mariadb-connector-c
rm -rf libmariadb/unittest rm -rf libmariadb/unittest
# Remove python scripts remains from tokudb upstream (those files are not used anyway) # Remove python scripts remains from tokudb upstream (those files are not used anyway)
rm -r storage/tokudb/mysql-test/tokudb/t/*.py rm -rf storage/tokudb/mysql-test/tokudb/t/*.py
%if %{without rocksdb} %if %{without rocksdb}
rm -r storage/rocksdb/ rm -r storage/rocksdb/
%endif %endif