summaryrefslogtreecommitdiff
path: root/run.sh
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2019-12-19 17:35:22 -0700
committermo khan <mo.khan@gmail.com>2020-01-24 10:58:34 -0700
commitb7db7ebc7525cbb39a96bd7c6600cf6002d802a2 (patch)
treea38830da957a9170c5d8475e2242929fbb93632c /run.sh
parentc694b9fca1c1b90e9d043638ca036fc1bc92c1f1 (diff)
Install LTS versions of tools and move legacy env vars to bashrc
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh27
1 files changed, 0 insertions, 27 deletions
diff --git a/run.sh b/run.sh
index 2d38e06..8cf9156 100755
--- a/run.sh
+++ b/run.sh
@@ -79,33 +79,6 @@ case "$COMMAND" in
shift
pushd $APP_PATH > /dev/null
- if [ -n "$LM_PYTHON_VERSION" ]; then
- #asdf shell python "$LM_PYTHON_VERSION"
- pip --version
- MAJOR_VERSION=$(echo "$LM_PYTHON_VERSION" | cut -d'.' -f1)
- case "$MAJOR_VERSION" in
- "2")
- echo "using python $LM_PYTHON_VERSION"
- LICENSE_FINDER_CLI_OPTS="--python-version 2 $LICENSE_FINDER_CLI_OPTS"
- ;;
-
- "3")
- echo "switching to python $LM_PYTHON_VERSION"
- LICENSE_FINDER_CLI_OPTS="--python-version 3 $LICENSE_FINDER_CLI_OPTS"
- ;;
- *)
- echo "python version not supported: $LM_PYTHON_VERSION" >&2
- exit 1
- ;;
- esac
- fi
- if [ -n "$LM_JAVA_VERSION" ]; then
- if [[ ${LM_JAVA_VERSION} = "11" ]]; then
- asdf shell java adopt-openjdk-11.0.5+10
- elif [[ ${LM_JAVA_VERSION} = "8" ]]; then
- asdf shell java adopt-openjdk-8u232-b09
- fi
- fi
asdf current
if [[ -z "${SETUP_CMD}" ]]; then
asdf install