diff --git a/libssh2-sys/build.rs b/libssh2-sys/build.rs index d1d33dc0..eb6e5028 100644 --- a/libssh2-sys/build.rs +++ b/libssh2-sys/build.rs @@ -32,7 +32,7 @@ fn main() { } } - if !Path::new("libssh2/.git").exists() { + if !Path::new("libssh2/src").exists() { let _ = Command::new("git") .args(&["submodule", "update", "--init"]) .status();