mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-10 00:11:45 +00:00
commit
0f954c20ff
@ -33,7 +33,6 @@ install:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- echo "TEST_LOCAL=$TEST_LOCAL"
|
|
||||||
- echo "NGROK_TOKEN=$(echo "$NGROK_TOKEN" | wc -c)"
|
- echo "NGROK_TOKEN=$(echo "$NGROK_TOKEN" | wc -c)"
|
||||||
- command -V openssl && openssl version
|
- command -V openssl && openssl version
|
||||||
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then curl -sSL $SHFMT_URL -o ~/shfmt ; fi
|
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then curl -sSL $SHFMT_URL -o ~/shfmt ; fi
|
||||||
@ -44,8 +43,8 @@ script:
|
|||||||
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then shellcheck **/*.sh && echo "shellcheck OK" ; fi
|
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then shellcheck **/*.sh && echo "shellcheck OK" ; fi
|
||||||
- cd ..
|
- cd ..
|
||||||
- git clone https://github.com/Neilpang/acmetest.git && cp -r acme.sh acmetest/ && cd acmetest
|
- git clone https://github.com/Neilpang/acmetest.git && cp -r acme.sh acmetest/ && cd acmetest
|
||||||
- if [ "$TRAVIS_OS_NAME" = "linux" -a "$NGROK_TOKEN" ]; then sudo NGROK_TOKEN="$NGROK_TOKEN" ./letest.sh ; fi
|
- if [ "$TRAVIS_OS_NAME" = "linux" -a "$NGROK_TOKEN" ]; then sudo TEST_LOCAL="$TEST_LOCAL" NGROK_TOKEN="$NGROK_TOKEN" ./letest.sh ; fi
|
||||||
- if [ "$TRAVIS_OS_NAME" = "osx" -a "$NGROK_TOKEN" ]; then sudo NGROK_TOKEN="$NGROK_TOKEN" OPENSSL_BIN="$OPENSSL_BIN" ./letest.sh ; fi
|
- if [ "$TRAVIS_OS_NAME" = "osx" -a "$NGROK_TOKEN" ]; then sudo TEST_LOCAL="$TEST_LOCAL" NGROK_TOKEN="$NGROK_TOKEN" OPENSSL_BIN="$OPENSSL_BIN" ./letest.sh ; fi
|
||||||
|
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
|
15
acme.sh
15
acme.sh
@ -1687,7 +1687,7 @@ _startserver() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$Le_Listen_V4$Le_Listen_V6$ncaddr" ]; then
|
if [ "$Le_Listen_V4$Le_Listen_V6$ncaddr" ]; then
|
||||||
if ! _contains "$nchelp" "OpenBSD"; then
|
if ! _contains "$nchelp" "-4"; then
|
||||||
_err "The nc doesn't support '-4', '-6' or local-address, please install 'netcat-openbsd' and try again."
|
_err "The nc doesn't support '-4', '-6' or local-address, please install 'netcat-openbsd' and try again."
|
||||||
_err "See $(__green $_PREPARE_LINK)"
|
_err "See $(__green $_PREPARE_LINK)"
|
||||||
return 1
|
return 1
|
||||||
@ -3906,12 +3906,7 @@ _detect_profile() {
|
|||||||
_initconf() {
|
_initconf() {
|
||||||
_initpath
|
_initpath
|
||||||
if [ ! -f "$ACCOUNT_CONF_PATH" ]; then
|
if [ ! -f "$ACCOUNT_CONF_PATH" ]; then
|
||||||
echo "#ACCOUNT_CONF_PATH=xxxx
|
echo "
|
||||||
|
|
||||||
#ACCOUNT_EMAIL=aaa@example.com # the account email used to register account.
|
|
||||||
#ACCOUNT_KEY_PATH=\"/path/to/account.key\"
|
|
||||||
#CERT_HOME=\"/path/to/cert/home\"
|
|
||||||
|
|
||||||
|
|
||||||
#LOG_FILE=\"$DEFAULT_LOG_FILE\"
|
#LOG_FILE=\"$DEFAULT_LOG_FILE\"
|
||||||
#LOG_LEVEL=1
|
#LOG_LEVEL=1
|
||||||
@ -3919,12 +3914,6 @@ _initconf() {
|
|||||||
#AUTO_UPGRADE=\"1\"
|
#AUTO_UPGRADE=\"1\"
|
||||||
|
|
||||||
#NO_TIMESTAMP=1
|
#NO_TIMESTAMP=1
|
||||||
#OPENSSL_BIN=openssl
|
|
||||||
|
|
||||||
#USER_AGENT=\"$USER_AGENT\"
|
|
||||||
|
|
||||||
#USER_PATH=
|
|
||||||
|
|
||||||
|
|
||||||
" >"$ACCOUNT_CONF_PATH"
|
" >"$ACCOUNT_CONF_PATH"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user