diff --git a/le.sh b/le.sh index 9f20139e..24cc5615 100755 --- a/le.sh +++ b/le.sh @@ -1520,7 +1520,7 @@ install() { return 1 fi - cp le.sh "$LE_WORKING_DIR/" && chmod +x "$LE_WORKING_DIR/le.sh" + cp $0 "$LE_WORKING_DIR/" && chmod +x "$LE_WORKING_DIR/le.sh" if [ "$?" != "0" ] ; then _err "Install failed, can not copy le.sh"