Skip to content

Commit

Permalink
minor support to specify API
Browse files Browse the repository at this point in the history
  • Loading branch information
neil committed Jan 11, 2016
1 parent 63f0467 commit 4b853d3
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions le.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@ PROJECT="https://github.com/Neilpang/le"
DEFAULT_CA="https://acme-v01.api.letsencrypt.org"
DEFAULT_AGREEMENT="https://letsencrypt.org/documents/LE-SA-v1.0.1-July-27-2015.pdf"

API="$DEFAULT_CA"
AGREEMENT="$DEFAULT_AGREEMENT"

if [ -z "$API" ] ; then
API="$DEFAULT_CA"
fi

if [ -z "$AGREEMENT" ] ; then
AGREEMENT="$DEFAULT_AGREEMENT"
fi

_debug() {

Expand Down

0 comments on commit 4b853d3

Please sign in to comment.