diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2006-06-14 12:13:24 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2006-06-14 12:13:24 +0000 |
commit | d31cef921cde64c70c26659a503707951b254f1a (patch) | |
tree | ca424928c8777e1c6ed2300d68a362fd00e532ed /media-tv/vdr-dvd-scripts | |
parent | Stable on x86 in preparation of split openal/freealut. (diff) | |
download | gentoo-2-d31cef921cde64c70c26659a503707951b254f1a.tar.gz gentoo-2-d31cef921cde64c70c26659a503707951b254f1a.tar.bz2 gentoo-2-d31cef921cde64c70c26659a503707951b254f1a.zip |
Added missing quotes to allow filenames with spaces. Reported by Quacks in #gentoo-vdr.
(Portage version: 2.1)
Diffstat (limited to 'media-tv/vdr-dvd-scripts')
7 files changed, 39 insertions, 8 deletions
diff --git a/media-tv/vdr-dvd-scripts/ChangeLog b/media-tv/vdr-dvd-scripts/ChangeLog index 8e38612e2f7c..d3904b1e9595 100644 --- a/media-tv/vdr-dvd-scripts/ChangeLog +++ b/media-tv/vdr-dvd-scripts/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for media-tv/vdr-dvd-scripts # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/vdr-dvd-scripts/ChangeLog,v 1.6 2006/05/22 20:58:34 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/vdr-dvd-scripts/ChangeLog,v 1.7 2006/06/14 12:13:24 zzam Exp $ + +*vdr-dvd-scripts-0.0.1-r5 (14 Jun 2006) + + 14 Jun 2006; Matthias Schwarzott <zzam@gentoo.org> + files/0.0.1/dvdchanger_readdvd.sh, files/0.0.1/dvdchanger_writedvd.sh, + files/0.0.1/dvdchanger_readdvd_real.sh, + files/0.0.1/dvdchanger_writedvd_real.sh, -vdr-dvd-scripts-0.0.1-r4.ebuild, + +vdr-dvd-scripts-0.0.1-r5.ebuild: + Added missing quotes to allow filenames with spaces. Reported by Quacks in + #gentoo-vdr. 22 May 2006; Matthias Schwarzott <zzam@gentoo.org> vdr-dvd-scripts-0.0.1-r4.ebuild: diff --git a/media-tv/vdr-dvd-scripts/files/0.0.1/dvdchanger_readdvd.sh b/media-tv/vdr-dvd-scripts/files/0.0.1/dvdchanger_readdvd.sh index 2300842f238a..207a41fa9b86 100644 --- a/media-tv/vdr-dvd-scripts/files/0.0.1/dvdchanger_readdvd.sh +++ b/media-tv/vdr-dvd-scripts/files/0.0.1/dvdchanger_readdvd.sh @@ -2,4 +2,4 @@ # # $1 = filename of the iso file -/usr/lib/vdr/bin/vdr-bg.sh /usr/share/vdr/dvdchanger/dvdchanger_readdvd_real.sh $@ +/usr/lib/vdr/bin/vdr-bg.sh /usr/share/vdr/dvdchanger/dvdchanger_readdvd_real.sh "$@" diff --git a/media-tv/vdr-dvd-scripts/files/0.0.1/dvdchanger_readdvd_real.sh b/media-tv/vdr-dvd-scripts/files/0.0.1/dvdchanger_readdvd_real.sh index 99f7cd4135b2..9e790a7d64a1 100644 --- a/media-tv/vdr-dvd-scripts/files/0.0.1/dvdchanger_readdvd_real.sh +++ b/media-tv/vdr-dvd-scripts/files/0.0.1/dvdchanger_readdvd_real.sh @@ -16,9 +16,9 @@ # $2 = name of dvd # $3 = original dvd-device -rm -f $1/$2 +rm -f "$1/$2" svdrpsend.pl -d localhost "MESG DVD einlesen gestartet" -dd if=$3 of=$1/$2 +dd if="$3" of="$1/$2" svdrpsend.pl -d localhost "MESG DVD $2 fertig" diff --git a/media-tv/vdr-dvd-scripts/files/0.0.1/dvdchanger_writedvd.sh b/media-tv/vdr-dvd-scripts/files/0.0.1/dvdchanger_writedvd.sh index 66c009ed15c0..2b3b534d6cf6 100644 --- a/media-tv/vdr-dvd-scripts/files/0.0.1/dvdchanger_writedvd.sh +++ b/media-tv/vdr-dvd-scripts/files/0.0.1/dvdchanger_writedvd.sh @@ -2,4 +2,4 @@ # # $1 = filename of the iso file -/usr/lib/vdr/bin/vdr-bg.sh /usr/share/vdr/dvdchanger/dvdchanger_writedvd_real.sh $@ +/usr/lib/vdr/bin/vdr-bg.sh /usr/share/vdr/dvdchanger/dvdchanger_writedvd_real.sh "$@" diff --git a/media-tv/vdr-dvd-scripts/files/0.0.1/dvdchanger_writedvd_real.sh b/media-tv/vdr-dvd-scripts/files/0.0.1/dvdchanger_writedvd_real.sh index cc35fd0157b0..615a44ed0587 100644 --- a/media-tv/vdr-dvd-scripts/files/0.0.1/dvdchanger_writedvd_real.sh +++ b/media-tv/vdr-dvd-scripts/files/0.0.1/dvdchanger_writedvd_real.sh @@ -1,13 +1,13 @@ #!/bin/sh # -# $Header: /var/cvsroot/gentoo-x86/media-tv/vdr-dvd-scripts/files/0.0.1/dvdchanger_writedvd_real.sh,v 1.2 2006/04/03 18:46:25 hd_brummy Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/vdr-dvd-scripts/files/0.0.1/dvdchanger_writedvd_real.sh,v 1.3 2006/06/14 12:13:24 zzam Exp $ # # 04 Mar 2006; Joerg Bornkessel <hd_brummy@gentoo.org> # addaptded to gentoo-vdr-scripts [[ -e /etc/conf.d/vdr.cd-dvd ]] && source /etc/conf.d/vdr.cd-dvd -ISO_FILE=`echo ${@} | sed 's:\ IMAGE::g'` +ISO_FILE="${1// IMAGE/}" #logger -t burnscript burn ${ISO_FILE} -- @@ -18,5 +18,5 @@ DVDPLUS_RECORD_OPTS="-use-the-force-luke=tty -dvd-compat -Z" unset SUDO_COMMAND svdrpsend.pl -d localhost "MESG DVD burn initiated" -$DVD_RECORDCMD $DVDPLUS_RECORD_OPTS $VDR_DVDWRITER="${ISO_FILE}" +"$DVD_RECORDCMD" $DVDPLUS_RECORD_OPTS "$VDR_DVDWRITER"="${ISO_FILE}" svdrpsend.pl -d localhost "MESG DVD burn completed" diff --git a/media-tv/vdr-dvd-scripts/files/digest-vdr-dvd-scripts-0.0.1-r5 b/media-tv/vdr-dvd-scripts/files/digest-vdr-dvd-scripts-0.0.1-r5 new file mode 100644 index 000000000000..8b137891791f --- /dev/null +++ b/media-tv/vdr-dvd-scripts/files/digest-vdr-dvd-scripts-0.0.1-r5 @@ -0,0 +1 @@ + diff --git a/media-tv/vdr-dvd-scripts/vdr-dvd-scripts-0.0.1-r5.ebuild b/media-tv/vdr-dvd-scripts/vdr-dvd-scripts-0.0.1-r5.ebuild new file mode 100644 index 000000000000..fdcd54aa5789 --- /dev/null +++ b/media-tv/vdr-dvd-scripts/vdr-dvd-scripts-0.0.1-r5.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-tv/vdr-dvd-scripts/vdr-dvd-scripts-0.0.1-r5.ebuild,v 1.1 2006/06/14 12:13:24 zzam Exp $ + +DESCRIPTION="scripts for vdr-plugins vdrselect and vdrswitch" +HOMEPAGE="http://www.vdr-wiki.de/wiki/index.php/Dvdselect_readdvd.sh" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 x86" +IUSE="" + +RDEPEND=">=media-tv/gentoo-vdr-scripts-0.3.0-r1" + +src_install() { + exeinto /usr/share/vdr/dvdchanger + exeopts -m0755 + doexe ${FILESDIR}/${PV}/*.sh +} |