From c9b2bd3d22796c3d1754908256ae8e9344255dc4 Mon Sep 17 00:00:00 2001 From: Bruno BEAUFILS Date: Mon, 28 Mar 2016 22:23:56 +0200 Subject: [PATCH] le.sh could be called from anywhere when installing. --- le.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"