Fix to resolve issue with fips_check.sh after --depth=1 change in PR #1920. Fixes Jenkins report `error: pathspec 'v3.6.0' did not match any file(s) known to git`.

pull/1924/head
David Garske 2018-11-13 06:30:05 -08:00
parent 8689cc6a04
commit ed79aa1dc5
1 changed files with 2 additions and 1 deletions

View File

@ -224,7 +224,8 @@ then
[ "x$PLATFORM" != "xnetos-7.6" ];
then
pushd old-tree || exit 2
$GIT checkout v3.6.0
$GIT fetch origin v3.6.0
$GIT checkout FETCH_HEAD
popd || exit 2
cp "old-tree/$CRYPT_SRC_PATH/random.c" $CRYPT_SRC_PATH
cp "old-tree/$CRYPT_INC_PATH/random.h" $CRYPT_INC_PATH