Update test scripts

This commit is contained in:
Jeffrey Walton 2021-02-07 07:41:23 -05:00
parent 9b3d0272f8
commit de8809d4eb
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
4 changed files with 6 additions and 6 deletions

View File

@ -94,7 +94,7 @@ files=(configure.ac Makefile.am libcryptopp.pc.in)
for file in "${files[@]}"; do
echo "Downloading $file"
if ! curl -L -o "$file" --silent "https://raw.githubusercontent.com/noloader/cryptopp-autotools/master/$file"; then
if ! curl -L -s -o "$file" "https://raw.githubusercontent.com/noloader/cryptopp-autotools/master/$file"; then
echo "$file download failed"
exit 1
fi
@ -133,7 +133,7 @@ fi
# Update config.sub config.guess. GNU recommends using the latest for all projects.
echo "Updating config.sub"
curl -o config.sub.new --silent 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub'
curl -L -s -o config.sub.new 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub'
# Solaris removes +w, can't overwrite
chmod +w build-aux/config.sub
@ -146,7 +146,7 @@ if [[ "$IS_DARWIN" -ne 0 ]] && [[ -n $(command -v xattr 2>/dev/null) ]]; then
fi
echo "Updating config.guess"
curl -o config.guess.new --silent 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess'
curl -L -s -o config.guess.new 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess'
# Solaris removes +w, can't overwrite
chmod +w build-aux/config.guess

View File

@ -48,7 +48,7 @@ files=(CMakeLists.txt cryptopp-config.cmake)
for file in "${files[@]}"; do
echo "Downloading $file"
if ! curl -L -o "$file" --silent "https://raw.githubusercontent.com/noloader/cryptopp-cmake/master/$file"; then
if ! curl -L -s -o "$file" "https://raw.githubusercontent.com/noloader/cryptopp-cmake/master/$file"; then
echo "$file download failed"
exit 1
fi

View File

@ -55,7 +55,7 @@ files=(Android.mk Application.mk make_neon.sh test_shared.hxx test_shared.cxx)
for file in "${files[@]}"; do
echo "Downloading $file"
if ! curl -L -o "${file}" --silent "https://raw.githubusercontent.com/noloader/cryptopp-android/master/${file}"; then
if ! curl -L -s -o "${file}" "https://raw.githubusercontent.com/noloader/cryptopp-android/master/${file}"; then
echo "${file} download failed"
exit 1
fi

View File

@ -63,7 +63,7 @@ files=(pem_create.sh pem_verify.sh pem_test.cxx pem_eol.cxx
for file in "${files[@]}"; do
echo "Downloading $file"
if ! curl -L -o "$file" --silent "https://raw.githubusercontent.com/noloader/cryptopp-pem/master/$file"; then
if ! curl -L -s -o "$file" "https://raw.githubusercontent.com/noloader/cryptopp-pem/master/$file"; then
echo "$file download failed"
exit 1
fi