From db0534ed970f9ca27ce13eb22323cdc511ab0ad3 Mon Sep 17 00:00:00 2001 From: neil Date: Mon, 18 Apr 2016 21:33:21 +0800 Subject: [PATCH] fix bug, uninstall env --- acme.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acme.sh b/acme.sh index d55ab3b8..66ea5c9b 100755 --- a/acme.sh +++ b/acme.sh @@ -1886,7 +1886,7 @@ uninstall() { _profile="$(_detect_profile)" if [ "$_profile" ] ; then text="$(cat $_profile)" - echo "$text" | sed "s|^source.*$PROJECT_NAME.env.*$||" > "$_profile" + echo "$text" | sed "s|^[.] \"$LE_WORKING_DIR/$PROJECT_NAME.env\"$||" > "$_profile" fi rm -f $LE_WORKING_DIR/$PROJECT_ENTRY