mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-07-09 04:05:58 +00:00
pipewire-v4l2: pw-v4l2.in: fix parameter expansion in quotes
`@LIBV4L2_PATH@` can be expanded into a string containing literally `${LIB}`, which is then reexpanded by the shell since it's enclosed in double quotes. We fix this by using single quotes instead.
This commit is contained in:
parent
d460c96273
commit
ddb38bd742
|
@ -55,9 +55,9 @@ done
|
|||
shift $(( OPTIND - 1 ))
|
||||
|
||||
if [ "$LD_PRELOAD" = "" ] ; then
|
||||
LD_PRELOAD="@LIBV4L2_PATH@/libpw-v4l2.so"
|
||||
LD_PRELOAD='@LIBV4L2_PATH@/libpw-v4l2.so'
|
||||
else
|
||||
LD_PRELOAD="$LD_PRELOAD @LIBV4L2_PATH@/libpw-v4l2.so"
|
||||
LD_PRELOAD="$LD_PRELOAD "'@LIBV4L2_PATH@/libpw-v4l2.so'
|
||||
fi
|
||||
|
||||
export LD_PRELOAD
|
||||
|
|
Loading…
Reference in New Issue
Block a user