fix warnings reported by shellcheck in shell scripts
This commit is contained in:
parent
d68bfbde54
commit
6a8e21d802
@ -62,7 +62,7 @@ do
|
||||
done
|
||||
|
||||
rm $TMPFILE.lz4 $TMPFILE1 $TMPFILE1.lz4 $TMPFILE2 $TMPFILE2.lz4
|
||||
if [ "$failures" == "" ]
|
||||
if [ "$failures" = "" ]
|
||||
then
|
||||
echo ---- All tests passed
|
||||
exit 0
|
||||
|
@ -6,7 +6,7 @@ make="make -C $lz4_root"
|
||||
unamestr=$(uname)
|
||||
if [ "$unamestr" = 'Linux' ]; then
|
||||
make="make -C $lz4_root"
|
||||
elif [ "$unamestr" = 'FreeBSD' -o "$unamestr" = 'OpenBSD' ]; then
|
||||
elif [ "$unamestr" = 'FreeBSD' ] || [ "$unamestr" = 'OpenBSD' ]; then
|
||||
make="gmake -C $lz4_root"
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user