diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 373c96b8..175c77c1 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1422,6 +1422,8 @@ Udo Richter for providing a shorter version of the 'sed' expression for extracting APIVERSION for fixing a bug in handling the "Power" key in case a recording is going on and no plugin is active + for suggesting to add 'eval' to the $VDRCMD call in 'runvdr' to avoid problems with + quoting Sven Kreiensen for his help in keeping 'channels.conf.terr' up to date diff --git a/HISTORY b/HISTORY index e3d228a9..8c8fc954 100644 --- a/HISTORY +++ b/HISTORY @@ -4694,3 +4694,5 @@ Video Disk Recorder Revision History - Adjusted the 'runvdr' script so that the user can fill in the functions to detect, load and unload the necessary driver modules (thanks to M. Kiesel for reporting that it still used DVBDIR). +- Added 'eval' to the $VDRCMD call in 'runvdr' to avoid problems with quoting + (suggested by Udo Richter). diff --git a/runvdr b/runvdr index 942b8f3c..701c94ca 100755 --- a/runvdr +++ b/runvdr @@ -20,7 +20,7 @@ # See the main source file 'vdr.c' for copyright information and # how to reach the author. # -# $Id: runvdr 1.17 2006/05/01 13:33:31 kls Exp $ +# $Id: runvdr 1.18 2006/05/01 14:51:00 kls Exp $ VDRPRG="./vdr" VDRCMD="$VDRPRG -w 60 $*" @@ -51,7 +51,7 @@ if ! DriverLoaded; then fi while (true) do - $VDRCMD + eval "$VDRCMD" if test $? -eq 0 -o $? -eq 2; then exit; fi echo "`date` reloading DVB driver" $KILL $VDRPRG