aboutsummaryrefslogtreecommitdiff
path: root/src/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java')
-rw-r--r--src/java/devcontainer-feature.json2
-rwxr-xr-xsrc/java/install.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/java/devcontainer-feature.json b/src/java/devcontainer-feature.json
index a67ca2f..5906e6a 100644
--- a/src/java/devcontainer-feature.json
+++ b/src/java/devcontainer-feature.json
@@ -1,6 +1,6 @@
{
"id": "java",
- "version": "1.0.3",
+ "version": "1.0.4",
"name": "Java (via SDKMAN!)",
"description": "Installs Java, SDKMAN! (if not installed), and needed dependencies.",
"options": {
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