Skip to content

Commit

Permalink
#1 change check android configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Dubkov committed Aug 27, 2021
1 parent 5c64485 commit 149c034
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doctor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ fi
printf "\nChecking Android Studio Configuration: \n"

prefs=$(mdfind "extensions" kind:folder | grep "Android" | sed 's/ *\/extensions//')
count_pref=$(echo $prefs | wc -l | sed 's/^[[:blank:]]*//g')
count_pref=$(mdfind "extensions" kind:folder | grep "Android" | sed 's/ *\/extensions//' | wc -l | sed 's/^[[:blank:]]*//g')
if [ "$count_pref" -ge 2 ]; then
printf "\nYou have several ($count_pref) Android Studio settings: \n"
echo $prefs
mdfind "extensions" kind:folder | grep "Android" | sed 's/ *\/extensions//'
printf "\n[!] To work correctly, leave one!\n"
fi

Expand Down

0 comments on commit 149c034

Please sign in to comment.