pw-v4l2: fix script as suggested by shellcheck

This commit is contained in:
Wim Taymans 2021-10-14 21:14:45 +02:00
parent 07d0b14955
commit d4207d3b0c

View File

@ -54,7 +54,7 @@ done
shift $(( OPTIND - 1 ))
if [ x"$LD_PRELOAD" = x ] ; then
if [ "$LD_PRELOAD" = "" ] ; then
LD_PRELOAD="@LIBV4L2_PATH@/libpw-v4l2.so"
else
LD_PRELOAD="$LD_PRELOAD @LIBV4L2_PATH@/libpw-v4l2.so"