[bisq-network/bisq] install_java.sh: halt on errors (#4861)

James Nylen notifications at github.com
Fri Nov 27 04:07:53 CET 2020


This PR adds `set -e` to the script to install the correct Java environment.

Without this, when the call to the system package manager (to install `curl`) fails for whatever reason, the installation process blindly continues. It probably will just fail at each further step but this could also have unintended effects. The correct behavior is to abort the script when the first error occurs.

You can view, comment on, or merge this pull request online at:

  https://github.com/bisq-network/bisq/pull/4861

-- Commit Summary --

  * install_java.sh: halt on errors

-- File Changes --

    M scripts/install_java.sh (4)

-- Patch Links --

https://github.com/bisq-network/bisq/pull/4861.patch
https://github.com/bisq-network/bisq/pull/4861.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/4861
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20201126/27b7c0dd/attachment.htm>


More information about the bisq-github mailing list