Merge pull request #8008 from bandi13/fixFipsCheck

Fix '--depth=1' repos
This commit is contained in:
JacobBarthelmeh
2024-09-24 13:30:12 -06:00
committed by GitHub

View File

@ -334,6 +334,9 @@ function copy_fips_files() {
done
}
# Check to make sure this is not a shallow repo
$GIT fetch --unshallow 2>/dev/null
if ! $GIT clone . "$TEST_DIR"; then
echo "fips-check: Couldn't duplicate current working directory."
exit 1