Skip to content

Commit 3308bd5

Browse files
committed
configure: Remove git probing logic
This is all in rustbuild already.
1 parent 5d0be0d commit 3308bd5

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

configure

-11
Original file line numberDiff line numberDiff line change
@@ -821,17 +821,6 @@ if [ $(echo $python_version | grep -c '^Python 2\.7') -ne 1 ]; then
821821
err "Found $python_version, but Python 2.7 is required"
822822
fi
823823

824-
# If we have no git directory then we are probably a tarball distribution
825-
# and shouldn't attempt to load submodules
826-
if [ ! -e ${CFG_SRC_DIR}.git ]
827-
then
828-
probe CFG_GIT git
829-
msg "git: no git directory. disabling submodules"
830-
CFG_DISABLE_MANAGE_SUBMODULES=1
831-
else
832-
probe_need CFG_GIT git
833-
fi
834-
835824
# Use `md5sum` on GNU platforms, or `md5 -q` on BSD
836825
probe CFG_MD5 md5
837826
probe CFG_MD5SUM md5sum

0 commit comments

Comments
 (0)