mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-06-15 19:04:12 +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"
|
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…
x
Reference in New Issue
Block a user