le.sh could be called from anywhere when installing.

This commit is contained in:
Bruno BEAUFILS 2016-03-28 22:23:56 +02:00
parent eb3de97a14
commit c9b2bd3d22

2
le.sh
View File

@ -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"