Fix tests for Travis CI

This patch makes it so the `travis_cleanup` function removes broken
symlinks properly.
pull/116/merge
Anish Athalye 7 years ago
parent ef558f85d9
commit 190c800272
  1. 2
      test/test_travis

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

Loading…
Cancel
Save