shithub: sox

Download patch

ref: 3e65ee7b61f23fd4076f8849be0618d267002efe
parent: 32b94c5ddefd0f3309b6e2f2aa7738f03525de50
author: cbagwell <cbagwell>
date: Sun Nov 6 21:55:28 EST 2005

Changing == to = for solaris /bin/sh

--- a/src/play.in
+++ b/src/play.in
@@ -153,7 +153,7 @@
 	    fopts="$fopts -x"
 	    ;;
 	--file=*)
-            if [ $rec_mode == "yes" ]; then
+            if [ $rec_mode = "yes" ]; then
 	        if [ -z "$filename" ]; then
                     filename=`echo $1 | sed 's/.*=//'`
                 else
@@ -176,7 +176,7 @@
 	    version
 	    ;;
 	-)
-            if [ $rec_mode == "yes" ]; then
+            if [ $rec_mode = "yes" ]; then
 	        if [ -z "$filename" ]; then
 	            filename="-"
                 else
@@ -190,7 +190,7 @@
             fi
 	    ;;
 	*)
-            if [ $rec_mode == "yes" ]; then
+            if [ $rec_mode = "yes" ]; then
 	        if [ -z "$filename" ]; then
 	            filename="$1"
                 else
@@ -214,13 +214,13 @@
     device="$AUDIODEV"
 fi
 
-if [ "$HAVE_ALSA" == "1" ]; then
+if [ "$HAVE_ALSA" = "1" ]; then
     arch_defines="-t alsa"
     if [ -z "$device" ]; then
 	device="default"
     fi
 else
-    if [ "$HAVE_OSS" == "1" ]; then
+    if [ "$HAVE_OSS" = "1" ]; then
         arch_defines="-t ossdsp"
         if [ -z "$device" ]; then
             device="/dev/dsp"