mirror of
1
0
Fork 0

Fix tests for Travis CI

This patch makes it so the `travis_cleanup` function removes broken
symlinks properly.
This commit is contained in:
Anish Athalye 2017-03-26 11:43:42 -04:00
parent ef558f85d9
commit 190c800272
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ travis_initialize() {
travis_cleanup() {
# Remove all dotfiles installed since the start, ignoring the main
# dotfiles directory, and the dotbot source directory
find ~ -mindepth 1 -readable -newermt "${date_stamp}" \
find ~ -mindepth 1 -newermt "${date_stamp}" \
-not \( -path ~ -o -path "${BASEDIR}/*" \
-o -path ~/dotfiles \) \
-exec rm -rf {} +