Fix quoting error in case cddb-choice not set yet
authorSteve McIntyre <steve@einval.com>
Sat, 16 Jun 2012 15:06:05 +0000 (15:06 +0000)
committerSteve McIntyre <steve@einval.com>
Sat, 16 Jun 2012 15:06:05 +0000 (15:06 +0000)
abcde

diff --git a/abcde b/abcde
index af65712..f9bc8ee 100755 (executable)
--- a/abcde
+++ b/abcde
@@ -4091,7 +4091,7 @@ if [ "$DOCDDB" = "y" ]; then
                        esac
                fi
                CHOICE=$(checkstatus cddb-choice)
-               if [ $CHOICE = 0 ] ; then
+               if [ "$CHOICE" = 0 ] ; then
                        # We don't have any information at all; try to fall back
                        # to CD-Text for basic information
                        vecho "No CDDB information found, trying cdtext from the CD"