Skip to content

Commit 746d702

Browse files
authored
Only update the curl submodule (#504)
Running `git submodule update --init` will trigger and update on all submodules including those in any repository that depends on curl-sys. This will break builds on partial checkouts.
1 parent 0564130 commit 746d702

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

curl-sys/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ fn main() {
3939

4040
if !Path::new("curl/.git").exists() {
4141
let _ = Command::new("git")
42-
.args(&["submodule", "update", "--init"])
42+
.args(&["submodule", "update", "--init", "curl"])
4343
.status();
4444
}
4545

0 commit comments

Comments
 (0)