diff --git a/.circleci/config.yml b/.circleci/config.yml
index 2122616829d1e51b66afaa6b0211d13070941312..ef401efb6da4ab1e084a68392fb0da2524368245 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -36,7 +36,7 @@ references:
       name: Checking drivedb.h with a specific smartmontools version
       command: |
         SM_VER=`cat ~/SM_VER` && SVNREV=`cat ~/SVNREV`
-        cd smartmontools-${SM_VER} && mkdir build && cd build
+        cd ~/smartmontools-${SM_VER} && mkdir build && cd build
         ../configure && make -j2 && make check
 
 jobs: