Browse Source

Fix staging check being backwards...

master
Chris Smith 8 years ago
parent
commit
ae0b8f99d5
1 changed files with 5 additions and 4 deletions
  1. 5
    4
      config.sh

+ 5
- 4
config.sh View File

@@ -1,10 +1,11 @@
1 1
 #!/usr/bin/env bash
2 2
 
3 3
 BASEDIR=/letsencrypt
4
-CONTACT_EMAIL="$EMAIL"
4
+CONTACT_EMAIL=$EMAIL
5 5
 
6
-if [[ -z "${STAGING:-}" ]]; then
7
-  CA="https://acme-staging.api.letsencrypt.org/directory"
8
-else
6
+if [ -z ${STAGING+-} ]; then
9 7
   CA="https://acme-v01.api.letsencrypt.org/directory"
8
+else
9
+  CA="https://acme-staging.api.letsencrypt.org/directory"
10 10
 fi
11
+

Loading…
Cancel
Save