Skip to content

Commit

Permalink
Set installation target to ~/bin when install.sh is run from DBR
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyas-goenka committed Feb 6, 2024
1 parent 41dc672 commit 09e8c6a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ MINGW64_NT)
;;
esac

# Set target to ~/bin if DATABRICKS_RUNTIME_VERSION environment variable is set.
if [ -n "$DATABRICKS_RUNTIME_VERSION" ]; then
TARGET="$HOME/bin"
fi

# Include architecture in file name.
ARCH="$(uname -m)"
case "$ARCH" in
Expand Down

0 comments on commit 09e8c6a

Please sign in to comment.