1
0
Fork 0
mirror of synced 2024-11-22 00:05:34 -05:00

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

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 {} +