aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2022-06-10 01:59:06 +0300
committerGitHub <noreply@github.com>2022-06-10 01:59:06 +0300
commita81ff33fda426c57267aa9e027dd8420fe812349 (patch)
treed3ff2723bdd138427fd8357277105d258c1ae004
parent99bfaeb5abd69c413e89f75c9a8bf14a6ac1cee7 (diff)
fix oryx path
-rw-r--r--src/oryx/devcontainer-feature.json5
-rwxr-xr-xsrc/oryx/install.sh2
2 files changed, 4 insertions, 3 deletions
diff --git a/src/oryx/devcontainer-feature.json b/src/oryx/devcontainer-feature.json
index 6315a43..f42e9ce 100644
--- a/src/oryx/devcontainer-feature.json
+++ b/src/oryx/devcontainer-feature.json
@@ -2,10 +2,11 @@
"id": "oryx",
"name": "Oryx",
"containerEnv": {
- "PATH": "usr/local/oryx:${PATH}",
"ORYX_SDK_STORAGE_BASE_URL": "https://oryx-cdn.microsoft.io",
"ENABLE_DYNAMIC_INSTALL": "true",
- "DYNAMIC_INSTALL_ROOT_DIR": "/tmp/oryx-platforms"
+ "DYNAMIC_INSTALL_ROOT_DIR": "/tmp/oryx-platforms",
+ "ORYX_DIR": "/usr/local/oryx",
+ "PATH": "${ORYX_DIR}:${PATH}"
},
"install": {
"app": "",
diff --git a/src/oryx/install.sh b/src/oryx/install.sh
index 0c5b937..c0e04d2 100755
--- a/src/oryx/install.sh
+++ b/src/oryx/install.sh
@@ -122,7 +122,7 @@ if ! oryx --version > /dev/null ; then
mkdir -p "${ORYX_INSTALL_DIR}"
chown -R ${USERNAME} "${ORYX_INSTALL_DIR}"
- updaterc "export PATH=$PATH:/usr/local/oryx && export ORYX_SDK_STORAGE_BASE_URL=https://oryx-cdn.microsoft.io && export ENABLE_DYNAMIC_INSTALL=true && DYNAMIC_INSTALL_ROOT_DIR=$ORYX_INSTALL_DIR"
+ updaterc "export ORYX_SDK_STORAGE_BASE_URL=https://oryx-cdn.microsoft.io && export ENABLE_DYNAMIC_INSTALL=true && DYNAMIC_INSTALL_ROOT_DIR=$ORYX_INSTALL_DIR"
fi
echo "Done!"