fix warnings reported by shellcheck in shell scripts

This commit is contained in:
a1346054 2021-08-21 20:46:04 +00:00
parent d68bfbde54
commit 6a8e21d802
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ do
done done
rm $TMPFILE.lz4 $TMPFILE1 $TMPFILE1.lz4 $TMPFILE2 $TMPFILE2.lz4 rm $TMPFILE.lz4 $TMPFILE1 $TMPFILE1.lz4 $TMPFILE2 $TMPFILE2.lz4
if [ "$failures" == "" ] if [ "$failures" = "" ]
then then
echo ---- All tests passed echo ---- All tests passed
exit 0 exit 0

View File

@ -6,7 +6,7 @@ make="make -C $lz4_root"
unamestr=$(uname) unamestr=$(uname)
if [ "$unamestr" = 'Linux' ]; then if [ "$unamestr" = 'Linux' ]; then
make="make -C $lz4_root" make="make -C $lz4_root"
elif [ "$unamestr" = 'FreeBSD' -o "$unamestr" = 'OpenBSD' ]; then elif [ "$unamestr" = 'FreeBSD' ] || [ "$unamestr" = 'OpenBSD' ]; then
make="gmake -C $lz4_root" make="gmake -C $lz4_root"
fi fi