fix warnings reported by shellcheck in shell scripts
This commit is contained in:
parent
d68bfbde54
commit
6a8e21d802
@ -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
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user