refactor: Temporary binaries are now created in cache

This commit is contained in:
Serge Guzik 2019-02-16 13:23:19 +02:00
parent 3c2cf64c3d
commit 9702fbf328

3
warp4j
View File

@ -272,12 +272,11 @@ BUNDLES_PATH=$CACHE_PATH/bundle # prepare bundles here
DIR="$(pwd -P)" # execution directory path
# final binaries created in WARPED_TEMP_PATH and then moved to WARPED_PATH
WARPED_TEMP_PATH=$CACHE_PATH/out-temp
if [[ -z $OUTPUT_DIR_PATH ]]; then
WARPED_PATH=$DIR/warped
WARPED_TEMP_PATH=$DIR/warped/tmp
else
WARPED_PATH=$OUTPUT_DIR_PATH
WARPED_TEMP_PATH=$OUTPUT_DIR_PATH/tmp
fi
BUNDLED_DISTRO_SUBDIR="java" # runtime directory inside a bundle