Browse Source

fix bug, uninstall env

neil 9 years ago
parent
commit
db0534ed97
1 changed files with 1 additions and 1 deletions
  1. 1 1
      acme.sh

+ 1 - 1
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