Fix tests for Travis CI
This patch makes it so the `travis_cleanup` function removes broken symlinks properly.
This commit is contained in:
parent
ef558f85d9
commit
190c800272
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ travis_initialize() {
|
||||||
travis_cleanup() {
|
travis_cleanup() {
|
||||||
# Remove all dotfiles installed since the start, ignoring the main
|
# Remove all dotfiles installed since the start, ignoring the main
|
||||||
# dotfiles directory, and the dotbot source directory
|
# 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}/*" \
|
-not \( -path ~ -o -path "${BASEDIR}/*" \
|
||||||
-o -path ~/dotfiles \) \
|
-o -path ~/dotfiles \) \
|
||||||
-exec rm -rf {} +
|
-exec rm -rf {} +
|
||||||
|
|
Loading…
Reference in a new issue