Merge pull request #156 from Neilpang/master

merge
This commit is contained in:
neil 2016-04-18 21:36:13 +08:00
commit e4f67c626a
1 changed files with 1 additions and 1 deletions

View File

@ -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