Skip to content

Commit

Permalink
Merge pull request #8008 from bandi13/fixFipsCheck
Browse files Browse the repository at this point in the history
Fix '--depth=1' repos
  • Loading branch information
JacobBarthelmeh authored Sep 24, 2024
2 parents bc68819 + 09b5362 commit 6b806f8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fips-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6b806f8

Please sign in to comment.