Browse Source

Fixed installing acme.sh from other dir

pull/3322/head
zEvilz 4 years ago
parent
commit
855dbc2543
  1. 2
      acme.sh

2
acme.sh

@ -6167,7 +6167,7 @@ install() {
chmod 700 "$LE_CONFIG_HOME" chmod 700 "$LE_CONFIG_HOME"
fi fi
cp "$PROJECT_ENTRY" "$LE_WORKING_DIR/" && chmod +x "$LE_WORKING_DIR/$PROJECT_ENTRY"
cp $(dirname "$0")/"$PROJECT_ENTRY" "$LE_WORKING_DIR/" && chmod +x "$LE_WORKING_DIR/$PROJECT_ENTRY"
if [ "$?" != "0" ]; then if [ "$?" != "0" ]; then
_err "Install failed, can not copy $PROJECT_ENTRY" _err "Install failed, can not copy $PROJECT_ENTRY"

Loading…
Cancel
Save