diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e65814c8244d305b4ae2efd31bbf6c93ae9742c7..303f1afa026ef9acb5493374c4775baa7ee117e5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,8 +10,8 @@ variables:
 before_script:
   - git clone https://gitlab.com/VictorLamoine/ros_gitlab_ci.git
   - source ros_gitlab_ci/gitlab-ci.bash >/dev/null catkin
-  - cd ${CI_PROJECT_DIR}/catkin_workspace/src
-  - git clone https://github.com/Tuebel/gl3w_ros.git # before ros_gitlab_ci so rosdep finds it
+  # before ros_gitlab_ci so rosdep finds it
+  - git clone https://github.com/Tuebel/gl3w_ros.git ${CI_PROJECT_DIR}/catkin_workspace/src/gl3w_ros
   - echo "Using rosdep to install dependencies"
   # use rosdep for dependencies
   - apt-get install -qq python-rosdep python-pip