Index: ports/zlib/build.sh |
diff --git a/ports/zlib/build.sh b/ports/zlib/build.sh |
index 4750888b9a0ca08c540d3af01e7119bcd40d9041..a2e6f77cfe758fc01dac93c1b5db140b288778da 100644 |
--- a/ports/zlib/build.sh |
+++ b/ports/zlib/build.sh |
@@ -54,11 +54,13 @@ RunExample() { |
TestStep() { |
RunExample |
RunMinigzip |
- if [ "${NACL_ARCH}" = "pnacl" ]; then |
+ if [[ ${NACL_ARCH} == pnacl ]]; then |
# Run the minigzip tests again but with x86-32 and arm translations |
WriteLauncherScript minigzip minigzip.x86-32.nexe |
RunMinigzip |
- WriteLauncherScript minigzip minigzip.arm.nexe |
- RunMinigzip |
+ if [[ ${SEL_LDR_SUPPORTS_ARM} == 1 ]]; then |
+ WriteLauncherScript minigzip minigzip.arm.nexe |
+ RunMinigzip |
+ fi |
fi |
} |