Skip to content

Commit 02c9fcb

Browse files
eed3si9ndwijnand
andauthored
Update .travis.yml
Co-Authored-By: Dale Wijnand <[email protected]>
1 parent a67d323 commit 02c9fcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ matrix:
2929

3030
before_install:
3131
# adding $HOME/.sdkman to cache would create an empty directory, which interferes with the initial installation
32-
- "[[ -d /home/travis/.sdkman/ ]] && [[ -d /home/travis/.sdkman/bin/ ]] || rm -rf /home/travis/.sdkman/"
32+
- "[[ -d "$HOME/.sdkman/bin" ]] || rm -rf "$HOME/.sdkman/"
3333
- curl -sL https://get.sdkman.io | bash
3434
- echo sdkman_auto_answer=true > /home/travis/.sdkman/etc/config
3535
- source "/home/travis/.sdkman/bin/sdkman-init.sh"

0 commit comments

Comments
 (0)