diff --git a/install_dependencies.sh b/install_dependencies.sh
index d2600866bafc1fefdaa3fe484dea6d0850cc47e0..5c6b512abbf6ceb38edb14315d53a2721ad0e402 100644
--- a/install_dependencies.sh
+++ b/install_dependencies.sh
@@ -29,7 +29,7 @@ download () {
   fi
 }
 
-download $EMBOSS_DOWNLOAD_URL "emboss-${EMBOSS_VERSION}.tgz"
+download $EMBOSS_DOWNLOAD_URL "${build_dir}/emboss-${EMBOSS_VERSION}.tgz"
 
 # Build all the things
 cd $build_dir