소스 검색

Fix staging check being backwards...

master
Chris Smith 8 년 전
부모
커밋
ae0b8f99d5
1개의 변경된 파일5개의 추가작업 그리고 4개의 파일을 삭제
  1. 5
    4
      config.sh

+ 5
- 4
config.sh 파일 보기

@@ -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…
취소
저장