mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-07-23 11:14:35 +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 ))
|
shift $(( OPTIND - 1 ))
|
||||||
|
|
||||||
if [ "$LD_PRELOAD" = "" ] ; then
|
if [ "$LD_PRELOAD" = "" ] ; then
|
||||||
LD_PRELOAD="@LIBV4L2_PATH@/libpw-v4l2.so"
|
LD_PRELOAD='@LIBV4L2_PATH@/libpw-v4l2.so'
|
||||||
else
|
else
|
||||||
LD_PRELOAD="$LD_PRELOAD @LIBV4L2_PATH@/libpw-v4l2.so"
|
LD_PRELOAD="$LD_PRELOAD "'@LIBV4L2_PATH@/libpw-v4l2.so'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export LD_PRELOAD
|
export LD_PRELOAD
|
||||||
|
|
Loading…
Reference in a new issue