diff --git a/ci/run-travis.sh b/ci/run-travis.sh
index 71593170a160b00c789ac64cea688201e245c938..09f2d79dabc8cfbf30abdb010482990230b6e561 100644
--- a/ci/run-travis.sh
+++ b/ci/run-travis.sh
@@ -70,7 +70,7 @@ case "$TARGET" in
     # Download the rustlib folder from the relevant portion of main distribution's
     # tarballs.
     pkg=rust-std-$HOST
-    if [ "$TRAVIS_RUST_VERSION" == "1.0.0" ]; then
+    if [ "$TRAVIS_RUST_VERSION" = "1.0.0" ]; then
       pkg=rustc
     fi
     curl -s $MAIN_TARGETS/rust-$TRAVIS_RUST_VERSION-$HOST.tar.gz | \