diff --git a/.travis.yml b/.travis.yml
index 9a0ce16f9b5436c7183619ce4fa2b584951e67fa..823343330f371e375e752b043d872305a540aa2f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -43,7 +43,7 @@ env:
   #- $REPO_PROJ=dra7xx # Cannot build this since it requires TI_SECURE_DEV_PKG
 
 before_script:
-  - mkdir $HOME/bin
+  - mkdir -p $HOME/bin
   - cd $HOME/bin && wget https://storage.googleapis.com/git-repo-downloads/repo && chmod +x repo
   - export PATH=$HOME/bin:$PATH
   - mkdir -p $HOME/$REPO_PROJ