aboutsummaryrefslogtreecommitdiff
path: root/src/oryx
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2022-08-23 23:13:33 +0300
committerGitHub <noreply@github.com>2022-08-23 23:13:33 +0300
commit84f4996643b84c6f3dcd5c3edc72ae176dceaf65 (patch)
tree74b7eddfc24ae22409baf5f3e4be28ce52d5881a /src/oryx
parent0cafeee86296b9f19e6425055e0c4037eff41985 (diff)
Fix bug - Python: Error installing os-provided python (#112)
* python: fix bug * bump versions
Diffstat (limited to 'src/oryx')
-rw-r--r--src/oryx/devcontainer-feature.json2
-rwxr-xr-xsrc/oryx/install.sh6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/oryx/devcontainer-feature.json b/src/oryx/devcontainer-feature.json
index 0ebd68a..a70af42 100644
--- a/src/oryx/devcontainer-feature.json
+++ b/src/oryx/devcontainer-feature.json
@@ -1,6 +1,6 @@
{
"id": "oryx",
- "version": "1.0.0",
+ "version": "1.0.1",
"name": "Oryx",
"description": "Installs the oryx CLI",
"containerEnv": {
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!"