Getting started:
Related tutorials:
| #!/bin/bash -e | |
| # JAVA_HOME can be passed as argument if not set | |
| if [ ! -d $JAVA_HOME ]; then | |
| JAVA_HOME=${1} | |
| fi | |
| KEYSTORE=$JAVA_HOME/jre/lib/security/cacerts | |
| if [ ! -f "$KEYSTORE" ]; then | |
| echo "Keystore not found in '$KEYSTORE'" | |
| exit 1 |
| # WHAT | |
| # <type>: (If applied, this commit will...) <subject> (Max 50 char) | |
| # |<---- Using a Maximum Of 50 Characters ---->| | |
| # WHY and HOW | |
| # Explain why this change is being made | |
| # |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->| | |
| # Provide links or keys to any relevant tickets, articles or other resources | |
| # Example: Github issue #23 |
Getting started:
Related tutorials: