Bug 1309594 - Fix typo in Android build-tools detection r=sebastian
authorJames Willcox <snorp@snorp.net>
Mon, 31 Oct 2016 13:15:00 +0100
changeset 347583 1c9d27b4ad3e0f7bdb7c5d0b31225f4d9ff888c9
parent 347582 3219bfc7b776e975cb92f8849cba4c43b40c1b2a
child 347584 970a2877f18432f932fad7ed280792d83b554aa8
push id10298
push userraliiev@mozilla.com
push dateMon, 14 Nov 2016 12:33:03 +0000
treeherdermozilla-aurora@7e29173b1641 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssebastian
bugs1309594
milestone52.0a1
Bug 1309594 - Fix typo in Android build-tools detection r=sebastian Patch from volker.mische@gmail.com
build/autoconf/android.m4
--- a/build/autoconf/android.m4
+++ b/build/autoconf/android.m4
@@ -258,17 +258,17 @@ case "$target" in
     for version in $2; do
         android_build_tools="$android_build_tools_base"/$version
         if test -d "$android_build_tools" -a -f "$android_build_tools/aapt"; then
             android_build_tools_version=$version
             AC_MSG_RESULT([$android_build_tools])
             break
         fi
     done
-    if test "$android_build_tools_version" == ""; then
+    if test "$android_build_tools_version" = ""; then
         version=$(echo $2 | cut -d" " -f1)
         AC_MSG_ERROR([You must install the Android build-tools version $version.  Try |mach bootstrap|.  (Looked for "$android_build_tools_base"/$version)])
     fi
 
     MOZ_PATH_PROG(ZIPALIGN, zipalign, :, [$android_build_tools])
     MOZ_PATH_PROG(DX, dx, :, [$android_build_tools])
     MOZ_PATH_PROG(AAPT, aapt, :, [$android_build_tools])
     MOZ_PATH_PROG(AIDL, aidl, :, [$android_build_tools])