Make all.sh more robust in some use cases

This commit is contained in:
Manuel Pégourié-Gonnard 2014-03-25 13:23:04 +01:00 committed by Paul Bakker
parent f84f799bcf
commit 897a595406

View File

@ -35,6 +35,8 @@ cleanup()
{
make clean
find -iname '*cmake*' -not -name CMakeLists.txt -exec rm -rf {} \+
rm -f include/Makefile include/polarssl/Makefile programs/*/Makefile
git update-index --no-skip-worktree {.,library,programs,tests}/Makefile
git checkout -- {.,library,programs,tests}/Makefile
}