diff options
| author | Josh Stone <jistone@redhat.com> | 2017-04-03 15:28:06 -0700 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2017-04-03 15:28:06 -0700 |
| commit | 4d32ff4e498c391d65b44d26cfb453651dc3da7b (patch) | |
| tree | a710e39a38e4683203b3ffe64aeabc7b1e96aab1 /src/bootstrap | |
| parent | e9cfc300a3a5b5a6f6f27df3305338f4b451366d (diff) | |
| download | rust-4d32ff4e498c391d65b44d26cfb453651dc3da7b.tar.gz rust-4d32ff4e498c391d65b44d26cfb453651dc3da7b.zip | |
Loosen src_is_git to just check exists()
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs index f80ba017f07..8303a40bb69 100644 --- a/src/bootstrap/lib.rs +++ b/src/bootstrap/lib.rs @@ -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, |
