File metamail-2.7-19-fix-bashisms.patch of Package metamail

diff -Ndur metamail-2.7-19/bin/extcompose metamail-2.7-19-fix-bashisms/bin/extcompose
--- metamail-2.7-19/bin/extcompose	1997-04-28 11:15:05.000000000 +0300
+++ metamail-2.7-19-fix-bashisms/bin/extcompose	2014-12-28 01:12:48.394929799 +0200
@@ -28,7 +28,7 @@
     echo "    4 -- In an Internet FTP directory that requires a valid login"
     echo "    5 -- Under the control of a mail server that will send the data on request"
     echo ""
-    echo -n "Please enter a number from 1 to 5: \c"
+    echo -n "Please enter a number from 1 to 5: "
     read ans
     case "$ans" in
         1) accesstype=local-file ;;
diff -Ndur metamail-2.7-19/bin/showaudio metamail-2.7-19-fix-bashisms/bin/showaudio
--- metamail-2.7-19/bin/showaudio	2014-12-28 01:10:13.923940249 +0200
+++ metamail-2.7-19-fix-bashisms/bin/showaudio	2014-12-28 01:12:48.395929799 +0200
@@ -269,8 +269,8 @@
 		read AUDIOPHONE
 	fi
 
-	if test "$thishost" == "$AUDIOPHONEHOST" \
-		-o "$thishost" == "$AUDIOPHONEHOSTLONG"
+	if test "$thishost" = "$AUDIOPHONEHOST" \
+		-o "$thishost" = "$AUDIOPHONEHOSTLONG"
 	then
 		echo Calling Phone number $AUDIOPHONE
 		echo "You MUST SAY HELLO when you answer the phone, or you will not hear the message."
openSUSE Build Service is sponsored by