diff --git a/acme.sh b/acme.sh index 303da6f..fbddc39 100755 --- a/acme.sh +++ b/acme.sh @@ -1973,7 +1973,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