fix bug, uninstall env

This commit is contained in:
neil committed 2016-04-18 21:33:21 +08:00
1 parent 2d39b3df88
commit db0534ed97
1 file changed
+1 -1
+1 -1
View File
@@ -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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.