summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-02-20 16:35:27 -0700
committermo khan <mo.khan@gmail.com>2020-02-20 16:35:27 -0700
commit3bcad0265e0a00d083f44bc42adbdbca77cffbcd (patch)
treeeed70805982d718427540c202788d70cbaa0a738 /config
parent87bc4c78940f28e3dd5a71ca549ae595c41e8351 (diff)
Extract TOOLS_IMAGE build arg
Diffstat (limited to 'config')
-rw-r--r--config/.bashrc7
1 files changed, 4 insertions, 3 deletions
diff --git a/config/.bashrc b/config/.bashrc
index 8d1ed76..d86120a 100644
--- a/config/.bashrc
+++ b/config/.bashrc
@@ -26,6 +26,7 @@ function switch_to() {
}
function scrub() {
+ rm -fr "$ASDF_DATA_DIR/docs"
rm -fr "$ASDF_DATA_DIR/installs/**/**/share"
rm -fr "$ASDF_DATA_DIR/installs/java/**/man"
rm -fr "$ASDF_DATA_DIR/installs/python/**/lib/**/test"
@@ -48,9 +49,9 @@ if [ -n "$LM_PYTHON_VERSION" ]; then
switch_to python "$MAJOR_VERSION"
python --version
pip --version
- #export LICENSE_FINDER_CLI_OPTS="--python-version $MAJOR_VERSION $LICENSE_FINDER_CLI_OPTS"
-#else
- #export LICENSE_FINDER_CLI_OPTS="--python-version 3 $LICENSE_FINDER_CLI_OPTS"
+ export LICENSE_FINDER_CLI_OPTS="--python-version $MAJOR_VERSION $LICENSE_FINDER_CLI_OPTS"
+else
+ export LICENSE_FINDER_CLI_OPTS="--python-version 3 $LICENSE_FINDER_CLI_OPTS"
fi
switch_to java "adopt-openjdk-${LM_JAVA_VERSION:-8}"