diff --git a/lib/rbpkg.rb b/lib/rbpkg.rb
index ccf1e74..accf01c 100644
--- a/lib/rbpkg.rb
+++ b/lib/rbpkg.rb
@@ -215,7 +215,7 @@ EOF
else
sh_remote_ci_dir = sh_ci_dir
end
- cmd! "rsync -a --exclude build #{sh_host}:#{sh_ci_dir}/. #{sh_ci_dir}"
+ cmd! "rsync -a --exclude build #{sh_host}:#{sh_remote_ci_dir}/. #{sh_ci_dir}"
end
def self.ci_status_dir