|
@@ -48,7 +48,7 @@ NODH=
|
48
|
48
|
DH_KEYLENGTH=2048
|
49
|
49
|
INSTALL_DIR=/root/build
|
50
|
50
|
LETSENCRYPT_SERVER='https://acme-v01.api.letsencrypt.org/directory'
|
51
|
|
-LETSENCRYPT_REPO='https://github.com/letsencrypt/letsencrypt'
|
|
51
|
+LETSENCRYPT_REPO="https://github.com/letsencrypt/letsencrypt"
|
52
|
52
|
MY_EMAIL_ADDRESS=
|
53
|
53
|
|
54
|
54
|
function show_help {
|
|
@@ -184,7 +184,7 @@ function add_cert_letsencrypt {
|
184
|
184
|
|
185
|
185
|
# obtain the repo
|
186
|
186
|
if [ ! -d ${INSTALL_DIR}/letsencrypt ]; then
|
187
|
|
- git clone $LETSENCRYPT_REPO
|
|
187
|
+ git clone $LETSENCRYPT_REPO ${INSTALL_DIR}/letsencrypt
|
188
|
188
|
if [ ! -d ${INSTALL_DIR}/letsencrypt ]; then
|
189
|
189
|
exit 76283
|
190
|
190
|
fi
|