Merge pull request #1920 from dgarske/check_speedup

Various script improvements for git clone calls
This commit is contained in:
toddouska
2018-11-12 13:17:14 -08:00
committed by GitHub
3 changed files with 4 additions and 4 deletions

View File

@ -31,7 +31,7 @@ then
echo "\n\nUsing existing async repo\n\n"
else
# make a clone of the wolfAsyncCrypt repository
git clone $ASYNC_REPO async
git clone --depth 1 $ASYNC_REPO async
[ $? -ne 0 ] && echo "\n\nCouldn't checkout the wolfAsyncCrypt repository\n\n" && exit 1
fi

View File

@ -63,7 +63,7 @@ if [ $INSTALL_DOX = true ] && [ ! "$(which doxygen)" ]; then
mkdir -p build
cd build
echo "cloning doxygen 1.8.13..."
git clone https://github.com/doxygen/doxygen --branch Release_1_8_13
git clone --depth 1 --branch Release_1_8_13 https://github.com/doxygen/doxygen
cmake -G "Unix Makefiles" doxygen/
make
cd ..

View File

@ -206,7 +206,7 @@ pushd $TEST_DIR || exit 2
if [ "x$FIPS_OPTION" == "xv1" ];
then
# make a clone of the last FIPS release tag
if ! $GIT clone -b $CRYPT_VERSION $CRYPT_REPO old-tree; then
if ! $GIT clone --depth 1 -b $CRYPT_VERSION $CRYPT_REPO old-tree; then
echo "fips-check: Couldn't checkout the FIPS release."
exit 1
fi
@ -239,7 +239,7 @@ else
fi
# clone the FIPS repository
if ! $GIT clone -b $FIPS_VERSION $FIPS_REPO fips; then
if ! $GIT clone --depth 1 -b $FIPS_VERSION $FIPS_REPO fips; then
echo "fips-check: Couldn't checkout the FIPS repository."
exit 1
fi