File kdenetwork-3.5.10-fix-bashisms.patch of Package kdenetwork3

diff -Ndur kdenetwork-3.5.10/kopete/plugins/latex/kopete_latexconvert.sh kdenetwork-3.5.10-fix-bashisms/kopete/plugins/latex/kopete_latexconvert.sh
--- kdenetwork-3.5.10/kopete/plugins/latex/kopete_latexconvert.sh	2005-09-10 11:20:16.000000000 +0300
+++ kdenetwork-3.5.10-fix-bashisms/kopete/plugins/latex/kopete_latexconvert.sh	2014-11-29 23:13:18.959631662 +0200
@@ -27,7 +27,7 @@
 extra_header="$HOME/.tex2im_header"
 
 if [ -f ~/.tex2imrc ]; then
-	source ~/.tex2imrc
+	. ~/.tex2imrc
 fi
 
 OPTERR=0
@@ -222,7 +222,7 @@
 	mv $tmpdir/out.$format.0 $outfile
 fi
 
-let OPTIND=$OPTIND+1
+OPTIND=$((OPTIND + 1))
 outfile=""
 done
 
diff -Ndur kdenetwork-3.5.10/kopete/protocols/winpopup/winpopup-send.sh kdenetwork-3.5.10-fix-bashisms/kopete/protocols/winpopup/winpopup-send.sh
--- kdenetwork-3.5.10/kopete/protocols/winpopup/winpopup-send.sh	2006-10-01 20:26:38.000000000 +0300
+++ kdenetwork-3.5.10-fix-bashisms/kopete/protocols/winpopup/winpopup-send.sh	2014-11-29 23:15:35.590622419 +0200
@@ -18,7 +18,8 @@
     fi
 
     if [ "$2" != "$THIS_SERVER" ]; then
-        echo -e "Kopete is currently not running.\nYour message was not delivered!" \
+        echo "Kopete is currently not running.
+Your message was not delivered!" \
             | smbclient -N -M $2
     fi
 
@@ -34,7 +35,9 @@
     MESSAGE=`cat "$1"`
 
     # Put it into the file
-    echo -e "$2\n$TIME\n$MESSAGE" > $filename
+    echo "$2
+$TIME
+$MESSAGE" > $filename
 
 
 fi
openSUSE Build Service is sponsored by