File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
modules/s2i/bash/artifacts/usr/local/s2i Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ if [ "$S2I_ENABLE_JLINK" = "true" ]; then
2929 log_info " S2I_JLINK_TEMP_PATH does not exist, creating ${S2I_JLINK_TEMP_PATH} "
3030 mkdir -pm 775 " ${S2I_JLINK_TEMP_PATH} "
3131 fi
32-
32+
3333 source " ${JBOSS_CONTAINER_JAVA_JLINK_MODULE} /mkdeps.sh"
3434 echo " Invoking mkdeps"
3535 generate_deps || {
@@ -61,8 +61,8 @@ if [ "$S2I_ENABLE_JLINK" = "true" ]; then
6161fi
6262
6363if [ " $S2I_DELETE_SOURCE " == " true" ]; then
64- if [ -n " $( find /tmp/jlink -maxdepth 0 -type d ! -empty 2> /dev/null) " ]; then
65- log_info " Cleaning up temporary file directory /tmp/jlink "
66- rm -rf /tmp/jlink
64+ if [ -n " $( find $S2I_JLINK_TEMP_PATH -maxdepth 0 -type d ! -empty 2> /dev/null) " ]; then
65+ log_info " Cleaning up temporary file directory $S2I_JLINK_TEMP_PATH "
66+ rm -rf $S2I_JLINK_TEMP_PATH
6767 fi
6868fi
You can’t perform that action at this time.
0 commit comments