Skip to content

Commit

Permalink
Fix code style script (#472)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sloy authored Dec 3, 2022
1 parent 0d62e60 commit ac8063e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions config/androidstudio/install-codestyle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,9 @@ for i in $HOME/Library/Preferences/IntelliJIdea* \
$HOME/Library/Application\ Support/Google/AndroidStudio* \
$HOME/Library/Application\ Support/JetBrains/IdeaIC*
do
if [[ -d $i ]]; then
# create codestyle folders
mkdir -p $i/codestyles
# copy xmls
cp -frv "$CONFIGS/codestyle"/* $i/codestyles
if [[ -d "$i" ]]; then
mkdir -p "$i/codestyles"
cp -frv "$CONFIGS/codestyle"/* "$i/codestyles"
fi
done

Expand Down

0 comments on commit ac8063e

Please sign in to comment.