Skip to content

Commit de626c8

Browse files
committed
Fix incorrectly inverted commands in circleci config
1 parent 31abd56 commit de626c8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

circle.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ dependencies:
1212
- /usr/local/android-sdk-linux/build-tools/24.0.2
1313
- /usr/local/android-sdk-linux/platform-tools
1414
pre:
15-
- if [ ! $(grep -q "Revision=38.0.0" $ANDROID_HOME/extras/android/m2repository/source.properties) ] ; then echo y | android update sdk --no-ui --all --filter "extra-android-m2repository" ; fi
16-
- if [ ! $(grep -q "Revision=36" $ANDROID_HOME/extras/google/m2repository/source.properties) ] ; then echo y | android update sdk --no-ui --all --filter "extra-google-m2repository" ; fi
15+
- if [ $(grep -q "Revision=38.0.0" $ANDROID_HOME/extras/android/m2repository/source.properties) ] ; then echo y | android update sdk --no-ui --all --filter "extra-android-m2repository" ; fi
16+
- if [ $(grep -q "Revision=36" $ANDROID_HOME/extras/google/m2repository/source.properties) ] ; then echo y | android update sdk --no-ui --all --filter "extra-google-m2repository" ; fi
1717
- if [ ! -e $ANDROID_HOME/platforms/android-24 ] ; then echo y | android update sdk --no-ui --all --filter "android-24" ; fi
1818
- if [ ! -e $ANDROID_HOME/build-tools/24.0.2 ] ; then echo y | android update sdk --no-ui --all --filter "build-tools-24.0.2" ; fi
19-
- if [ ! $(grep -q "Revision=24.0.3" $ANDROID_HOME/platform-tools/source.properties) ] ; then echo y | android update sdk --no-ui --all --filter "platform-tools" ; fi
19+
- if [ $(grep -q "Revision=24.0.3" $ANDROID_HOME/platform-tools/source.properties) ] ; then echo y | android update sdk --no-ui --all --filter "platform-tools" ; fi
2020
override:
2121
- ./gradlew dependencies -Dorg.gradle.daemon=false --console=plain
2222

0 commit comments

Comments
 (0)