aboutsummaryrefslogtreecommitdiff
path: root/src/java/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/install.sh')
-rwxr-xr-xsrc/java/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/install.sh b/src/java/install.sh
index 03cf2f2..1ff3a67 100755
--- a/src/java/install.sh
+++ b/src/java/install.sh
@@ -143,7 +143,7 @@ if [ ! -d "${SDKMAN_DIR}" ]; then
# Install SDKMAN
curl -sSL "https://get.sdkman.io?rcupdate=false" | bash
chown -R "${USERNAME}:sdkman" ${SDKMAN_DIR}
- find ${SDKMAN_DIR} -type d | xargs -d '\n' chmod g+s
+ find ${SDKMAN_DIR} -type d -print0 | xargs -d '\n' -0 chmod g+s
# Add sourcing of sdkman into bashrc/zshrc files (unless disabled)
updaterc "export SDKMAN_DIR=${SDKMAN_DIR}\n. \${SDKMAN_DIR}/bin/sdkman-init.sh"
fi