Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0fc959c1 authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

docker: Fix android version check

parent 03a0e243
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -351,8 +351,12 @@ if [ -n "${BRANCH_NAME}" ] && [ -n "${DEVICE}" ]; then
        build_success=true
      fi
    elif [ "${IS_EMULATOR}" = true ]; then
        if breakfast_device && mka; then
          if ( [ "$android_version_major" -lt "13" ] && mka sdk_addon ) || mka emu_img_zip; then
      if breakfast_device; then
          if [ "$android_version_major" -lt "14" ]; then
            if mka sdk_addon; then
              build_success=true
            fi
          elif mka && mka emu_img_zip; then
            build_success=true
          fi
      fi