Skip to content

Commit 4a7d5f3

Browse files
committed
bug fixes
1 parent cb717b9 commit 4a7d5f3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cookbooks/jdk/recipes/install.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function install()
1212
{
1313
initializeFolder "$(getCurrentUserHomeFolder)/Library/Caches/Homebrew"
1414

15-
sudo rm -f -r /Library/Java/JavaVirtualMachines/openjdk-*.jdk
15+
sudo rm -f -r '/Library/Java/JavaVirtualMachines'/openjdk-*.jdk
1616

1717
if [[ "$(existCommand 'java')" = 'true' ]]
1818
then

cookbooks/jdk/recipes/uninstall.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function uninstall()
55
if [[ "$(existCommand 'brew')" = 'true' ]]
66
then
77
brew cask uninstall "${JDK_VERSION}" || true
8-
sudo rm -f -r /Library/Java/JavaVirtualMachines/openjdk-*.jdk
8+
sudo rm -f -r '/Library/Java/JavaVirtualMachines'/openjdk-*.jdk
99
fi
1010
}
1111

0 commit comments

Comments
 (0)