diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2017-02-12 10:21:16 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2017-03-11 08:41:10 -0800 |
| commit | 3308bd54b2fa70080c523f7899140f335928ac83 (patch) | |
| tree | f9b154d99bb91008a75596ef76696bf166abb0be /configure | |
| parent | 5d0be0d72a8fe87c1a038f014beb7f64ba249b29 (diff) | |
| download | rust-3308bd54b2fa70080c523f7899140f335928ac83.tar.gz rust-3308bd54b2fa70080c523f7899140f335928ac83.zip | |
configure: Remove git probing logic
This is all in rustbuild already.
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/configure b/configure index d8861dacafa..c084478b375 100755 --- a/configure +++ b/configure @@ -821,17 +821,6 @@ if [ $(echo $python_version | grep -c '^Python 2\.7') -ne 1 ]; then err "Found $python_version, but Python 2.7 is required" fi -# If we have no git directory then we are probably a tarball distribution -# and shouldn't attempt to load submodules -if [ ! -e ${CFG_SRC_DIR}.git ] -then - probe CFG_GIT git - msg "git: no git directory. disabling submodules" - CFG_DISABLE_MANAGE_SUBMODULES=1 -else - probe_need CFG_GIT git -fi - # Use `md5sum` on GNU platforms, or `md5 -q` on BSD probe CFG_MD5 md5 probe CFG_MD5SUM md5sum |
