shithub: sox

Download patch

ref: 8461850306bbb3d264cbd51349ce5411a2b843fb
parent: 4bf2987a7d811612e8b66c9632fc88fc819feb44
author: cbagwell <cbagwell>
date: Thu Jan 25 17:36:20 EST 2007

Fix skip check when multiple items are skipped

--- a/src/tests.sh
+++ b/src/tests.sh
@@ -28,8 +28,8 @@
 convertToAndFrom () {
   while [ $# != 0 ]; do
       if [ "${skip}x" != "x" ] ; then
-        format1_skip=`echo ${format1} | grep ${skip}`
-        from_skip=`echo ${1} | grep ${skip}`
+        format1_skip=`echo ${skip} | grep ${format1}`
+        from_skip=`echo ${skip} | grep ${1}`
       fi
       if [ "${format1_skip}x" = "x" -a "${from_skip}x" = "x" ] ; then
         getFormat ${format1}; format1Text=$formatText; format1Flags=$formatFlags