summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-05-01 14:52:19 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2006-05-01 14:52:19 +0200
commit98fe8d8f86ec77317242588206727e29678fe47f (patch)
tree0e5a569754f1817fb4994ff60c7d2dc3d28a9ef2
parent87f7e826a1af560ef8043d81add96e9042821244 (diff)
downloadvdr-98fe8d8f86ec77317242588206727e29678fe47f.tar.gz
vdr-98fe8d8f86ec77317242588206727e29678fe47f.tar.bz2
Added 'eval' to the $VDRCMD call in 'runvdr' to avoid problems with quoting
-rw-r--r--CONTRIBUTORS2
-rw-r--r--HISTORY2
-rwxr-xr-xrunvdr4
3 files changed, 6 insertions, 2 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 373c96b8..175c77c1 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -1422,6 +1422,8 @@ Udo Richter <udo_richter@gmx.de>
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 <svenk@kammer.uni-hannover.de>
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