Bug#264081: Plugin quoting bugs
Thomas Schmidt
pkg-vdr-dvb-devel@lists.alioth.debian.org
Sat, 7 Aug 2004 13:48:20 +0200
--XF85m9dhOBO43t/C
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
* Darren Salt schrieb am 07.08.04, um 00:56 Uhr:
> Despite the quoting code in plugin-loader.sh, I'm still seeing plugins not
> being loaded, with vdr complaining about things like "plugin '"xine' not
> found". (Note the extra ".)
Hmm, i can not reproduce this here, everything works perfect.
Only plugins with an empty plugin.<pluginname>.conf are called with=20
-P "pluginname " but this also works perfect.
> Since shell array variables are already in use (aren't they bashisms, and
> shouldn't vdr.init use /bin/bash?), we may as well wander deeper into bash
> territory to fix this: the attached patch fixes plugin-loader.sh, and the
> following command completes the job:
> sed -i -e 's/\$PLUGINS/"${PLUGINS[@]}"/' debian/vdr.init
>=20
> (It occurs to me that this /could/ be caused by a bug in bash 2.05b-2-15.=
=2E.)
Ok, i changed to /bin/bash in vdr.init, but your fixes do not work
here, in fact they break the ability to use plugins with
commandline-options, vdr fails to start when i use your fixes +
commandline-options i a plugin.<pluginname>.conf.
Are you sure that this happens with the delivered runvdr-script, or
may this be a problem in your c-version of runvdr?
Regards,
Thomas
--=20
Thomas Schmidt
thomas.schmidt@in.stud.tu-ilmenau.de
--XF85m9dhOBO43t/C
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBFMGEc9+NqwoydlIRAoimAKCx8+EbFokzSHMuHUiIjG9qO2FUjQCgkV7Q
asd7dl0GfvCKCe/Y49EG3C0=
=g95D
-----END PGP SIGNATURE-----
--XF85m9dhOBO43t/C--