mirror of https://github.com/wolfSSL/wolfssl.git
Only take the latest from the repo. Don't need old history.
parent
a51c8d54d2
commit
79272b5861
|
@ -305,9 +305,15 @@ fi
|
||||||
|
|
||||||
pushd "$TEST_DIR" || exit 2
|
pushd "$TEST_DIR" || exit 2
|
||||||
|
|
||||||
if ! $GIT clone "$FIPS_REPO" fips; then
|
# Start from FIPS 140-2 cert3389
|
||||||
|
OLDDATE="Tue Jan 9 13:29:37 2018 -0800"
|
||||||
|
if ! $GIT clone --filter=blob:none --no-checkout --shallow-since="$OLDDATE" "$FIPS_REPO" fips; then
|
||||||
echo "fips-check: Couldn't check out FIPS repository."
|
echo "fips-check: Couldn't check out FIPS repository."
|
||||||
exit 1
|
exit 1
|
||||||
|
else
|
||||||
|
pushd fips || exit 2
|
||||||
|
git checkout || exit 3
|
||||||
|
popd || exit 2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
checkout_files "${WOLFCRYPT_FILES[@]}" || exit 3
|
checkout_files "${WOLFCRYPT_FILES[@]}" || exit 3
|
||||||
|
|
Loading…
Reference in New Issue