Skip to content

Commit

Permalink
Support building with stripped .git directories.
Browse files Browse the repository at this point in the history
  • Loading branch information
ebarnard committed Dec 14, 2017
1 parent 170aff5 commit 4d10ae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osqp-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use std::path::Path;
use std::process::Command;

fn main() {
if !Path::new("osqp/.git").exists() {
if !Path::new("osqp/README.md").exists() {
let _ = Command::new("git")
.args(&["submodule", "update", "--init"])
.status();
Expand Down

0 comments on commit 4d10ae8

Please sign in to comment.