Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:yukoff:openSUSE:Leap:42.1:Backports
abcde
abcde_2.6-quote.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File abcde_2.6-quote.patch of Package abcde
--- abcde.orig 2014-10-26 21:16:54.000000000 +0100 +++ abcde 2014-12-13 19:43:26.416668421 +0100 @@ -795,7 +795,7 @@ # COMMENT, DALBUM, DARTIST, CDYEAR, CDGENRE do_tag () { - COMMENTOUTPUT="$(eval echo ${COMMENT})" + COMMENTOUTPUT="$(eval echo \""${COMMENT}"\")" if [ -z "$COMMENTOUTPUT" ]; then COMMENTOUTPUT="$(getcddbinfo TRACK-INFO)" fi @@ -885,7 +885,7 @@ echo DISCNUMBER="$DISCNUMBER" fi echo CDDB=$CDDBDISCID - if [ "$(eval echo ${COMMENT})" != "" ]; then + if [ "$(eval echo \""${COMMENT}"\")" != "" ]; then case "$COMMENTOUTPUT" in *=*) echo "$COMMENTOUTPUT";; *) echo COMMENT="$COMMENTOUTPUT";; @@ -924,7 +924,7 @@ echo DISCNUMBER="$DISCNUMBER" fi echo CDDB="$CDDBDISCID" - if [ "$(eval echo ${COMMENT})" != "" ]; then + if [ "$(eval echo \""${COMMENT}"\")" != "" ]; then case "$COMMENTOUTPUT" in *=*) echo "$COMMENTOUTPUT";; *) echo COMMENT="$COMMENTOUTPUT";; @@ -1044,7 +1044,7 @@ TEMPARG="PIPE_$AACENCODERSYNTAX" ;; esac - IN="$( eval echo "\$$TEMPARG" )" + IN="$( eval echo \""\$$TEMPARG"\" )" else IN="$ABCDETEMPDIR/track$1.wav" case "$OUTPUT" in @@ -1137,7 +1137,7 @@ case "$OPUSENCODERSYNTAX" in opusenc) - if [ "$(eval echo ${COMMENT})" != "" ]; then + if [ "$(eval echo \""${COMMENT}"\")" != "" ]; then case "$COMMENT" in *=*) ;; *) COMMENT="COMMENT=$COMMENT" ;; @@ -1541,9 +1541,9 @@ GENRE="$(mungegenre "$GENRE")" YEAR=${CDYEAR:-$CDYEAR} if [ "$VARIOUSARTISTS" = "y" ] ; then - PLAYLISTFILE="$(eval echo "$VAPLAYLISTFORMAT")" + PLAYLISTFILE="$(eval echo \""$VAPLAYLISTFORMAT"\")" else - PLAYLISTFILE="$(eval echo "$PLAYLISTFORMAT")" + PLAYLISTFILE="$(eval echo \""$PLAYLISTFORMAT"\")" fi FINALPLAYLISTDIR="$(dirname "$OUTPUTDIR/$PLAYLISTFILE")" mkdir -p "$FINALPLAYLISTDIR" @@ -1553,7 +1553,7 @@ while [ "$DONE" != "y" ]; do read ERASEPLAYLIST case $ERASEPLAYLIST in - e|E|a|A|k|K) DONE=y ;; + e|E|a|A|k|K|'') DONE=y ;; "") ERASEPLAYLIST=e ; DONE=y ;; *) ;; esac @@ -2961,7 +2961,7 @@ CDDBTRACKNUM=$(expr $UTRACKNUM - 1) if [ "$USEPIPES" = "y" ]; then TEMPARG="PIPERIPPER_$CDROMREADERSYNTAX" - FILEARG="$( eval echo "\$$TEMPARG" )" + FILEARG="$( eval echo \""\$$TEMPARG"\" )" REDIR="y" PIPE_MESSAGE="and encoding " else @@ -4067,16 +4067,16 @@ PIPEENCODERSVARCHECK="PIPE_$MPCENCODER" ;; esac decho "PIPERIPPERSVARCHECK: $( eval echo "\$$PIPERIPPERSVARCHECK" )" - if [ "$( eval echo "\$$PIPERIPPERSVARCHECK" )" = "$" ] || \ - [ "$( eval echo "\$$PIPERIPPERSVARCHECK" )" = "" ] ; then + if [ "$( eval echo \""\$$PIPERIPPERSVARCHECK"\" )" = "$" ] || \ + [ "$( eval echo \""\$$PIPERIPPERSVARCHECK"\" )" = "" ] ; then log error "no support for pipes with given ripper" log error "read the USEPIPES file from the source tarball to get help." log error "On a Debian system, it is under /usr/share/doc/abcde/USEPIPES.gz" exit 1; fi decho "PIPEENCODERSVARCHECK: $( eval echo "\$$PIPEENCODERSVARCHECK" )" - if [ "$( eval echo "\$$PIPEENCODERSVARCHECK" )" = "$" ] || \ - [ "$( eval echo "\$$PIPEENCODERSVARCHECK" )" = "" ] ; then + if [ "$( eval echo \""\$$PIPEENCODERSVARCHECK"\" )" = "$" ] || \ + [ "$( eval echo \""\$$PIPEENCODERSVARCHECK"\" )" = "" ] ; then log error "no support for pipes with given encoder" log error "read the USEPIPES file from the source tarball to help" log error "on a Debian system, read /usr/share/doc/abcde/USEPIPES.gz"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor