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
29
29
log_info " S2I_JLINK_TEMP_PATH does not exist, creating ${S2I_JLINK_TEMP_PATH} "
30
30
mkdir -pm 775 " ${S2I_JLINK_TEMP_PATH} "
31
31
fi
32
-
32
+
33
33
source " ${JBOSS_CONTAINER_JAVA_JLINK_MODULE} /mkdeps.sh"
34
34
echo " Invoking mkdeps"
35
35
generate_deps || {
@@ -61,8 +61,8 @@ if [ "$S2I_ENABLE_JLINK" = "true" ]; then
61
61
fi
62
62
63
63
if [ " $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
67
67
fi
68
68
fi
You can’t perform that action at this time.
0 commit comments