Skip to content

Commit

Permalink
Loosen src_is_git to just check exists()
Browse files Browse the repository at this point in the history
  • Loading branch information
cuviper committed Apr 3, 2017
1 parent e9cfc30 commit 4d32ff4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ impl Build {
};
let rust_info = channel::GitInfo::new(&src);
let cargo_info = channel::GitInfo::new(&src.join("cargo"));
let src_is_git = src.join(".git").is_dir();
let src_is_git = src.join(".git").exists();

Build {
flags: flags,
Expand Down

0 comments on commit 4d32ff4

Please sign in to comment.