mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-06-14 21:22:45 +00:00
Fixed installing acme.sh from other dir
This commit is contained in:
parent
44615c6fa2
commit
855dbc2543
2
acme.sh
2
acme.sh
@ -6167,7 +6167,7 @@ install() {
|
||||
chmod 700 "$LE_CONFIG_HOME"
|
||||
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
|
||||
_err "Install failed, can not copy $PROJECT_ENTRY"
|
||||
|
Loading…
x
Reference in New Issue
Block a user