Commit db0534ed authored by neil's avatar neil
Browse files

fix bug, uninstall env

parent 2d39b3df
...@@ -1886,7 +1886,7 @@ uninstall() { ...@@ -1886,7 +1886,7 @@ uninstall() {
_profile="$(_detect_profile)" _profile="$(_detect_profile)"
if [ "$_profile" ] ; then if [ "$_profile" ] ; then
text="$(cat $_profile)" text="$(cat $_profile)"
echo "$text" | sed "s|^source.*$PROJECT_NAME.env.*$||" > "$_profile" echo "$text" | sed "s|^[.] \"$LE_WORKING_DIR/$PROJECT_NAME.env\"$||" > "$_profile"
fi fi
rm -f $LE_WORKING_DIR/$PROJECT_ENTRY rm -f $LE_WORKING_DIR/$PROJECT_ENTRY
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment