Loosen src_is_git to just check exists()

This commit is contained in:
Josh Stone 2017-04-03 15:28:06 -07:00
parent e9cfc300a3
commit 4d32ff4e49

View File

@ -234,7 +234,7 @@ impl Build {
}; };
let rust_info = channel::GitInfo::new(&src); let rust_info = channel::GitInfo::new(&src);
let cargo_info = channel::GitInfo::new(&src.join("cargo")); 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 { Build {
flags: flags, flags: flags,