From d4207d3b0c8767d42891b42d22a0463cbf75cd0f Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 14 Oct 2021 21:14:45 +0200 Subject: [PATCH] pw-v4l2: fix script as suggested by shellcheck --- pipewire-v4l2/src/pw-v4l2.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipewire-v4l2/src/pw-v4l2.in b/pipewire-v4l2/src/pw-v4l2.in index e56245979..ac01587b0 100755 --- a/pipewire-v4l2/src/pw-v4l2.in +++ b/pipewire-v4l2/src/pw-v4l2.in @@ -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"