diff options
author | Samruddhi Khandale <skhandale@microsoft.com> | 2022-06-10 01:59:06 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-10 01:59:06 +0300 |
commit | a81ff33fda426c57267aa9e027dd8420fe812349 (patch) | |
tree | d3ff2723bdd138427fd8357277105d258c1ae004 /src | |
parent | 99bfaeb5abd69c413e89f75c9a8bf14a6ac1cee7 (diff) |
fix oryx path
Diffstat (limited to 'src')
-rw-r--r-- | src/oryx/devcontainer-feature.json | 5 | ||||
-rwxr-xr-x | src/oryx/install.sh | 2 |
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!" |