summaryrefslogtreecommitdiff
path: root/libssh2-sys/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'libssh2-sys/build.rs')
-rw-r--r--libssh2-sys/build.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh2-sys/build.rs b/libssh2-sys/build.rs
index e66cea6..dbcffab 100644
--- a/libssh2-sys/build.rs
+++ b/libssh2-sys/build.rs
@@ -18,7 +18,7 @@ fn main() {
return
}
- if !Path::new("libssh2").exists() {
+ if !Path::new("libssh2/.git").exists() {
let _ = Command::new("git").args(&["submodule", "update", "--init"])
.status();
}