aboutsummaryrefslogtreecommitdiff
path: root/src/oryx/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/oryx/install.sh')
-rwxr-xr-xsrc/oryx/install.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/oryx/install.sh b/src/oryx/install.sh
index 342a723..c011c65 100755
--- a/src/oryx/install.sh
+++ b/src/oryx/install.sh
@@ -142,8 +142,8 @@ updaterc "export ORYX_SDK_STORAGE_BASE_URL=https://oryx-cdn.microsoft.io && expo
chown -R "${USERNAME}:oryx" "${ORYX_INSTALL_DIR}" "${BUILD_SCRIPT_GENERATOR}" "${ORYX}"
chmod -R g+r+w "${ORYX_INSTALL_DIR}" "${BUILD_SCRIPT_GENERATOR}" "${ORYX}"
-find "${ORYX_INSTALL_DIR}" -type d | xargs -n 1 chmod g+s
-find "${BUILD_SCRIPT_GENERATOR}" -type d | xargs -n 1 chmod g+s
-find "${ORYX}" -type d | xargs -n 1 chmod g+s
+find "${ORYX_INSTALL_DIR}" -type d -print0 | xargs -n 1 -0 chmod g+s
+find "${BUILD_SCRIPT_GENERATOR}" -type d -print0 | xargs -n 1 -0 chmod g+s
+find "${ORYX}" -type d -print0 | xargs -n 1 -0 chmod g+s
echo "Done!"