Skip to content

Commit

Permalink
feat: Remove downloaded archives after uncompressing
Browse files Browse the repository at this point in the history
  • Loading branch information
guziks committed Feb 20, 2019
1 parent b496a3f commit b19e527
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions warp4j
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,10 @@ function ensure_distro_unpacked() {
esac
if [[ $? == 0 ]]; then
touch "$download_dir/$MARKER_UNPACKED"
case $platform in
$WIN) rm "$download_dir"/*.zip ;;
*) rm "$download_dir"/*.tar.gz ;;
esac
else
fail_with "Failed to unpack $JVM_IMPL-$JAVA_DISTRO_TYPE-$version-$platform"
fi
Expand Down

0 comments on commit b19e527

Please sign in to comment.