diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-12-13 06:26:27 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-12-13 06:26:27 +0000 |
commit | 9fab5b8a216e283e563f3457315715672bc8b55a (patch) | |
tree | c1251952e4e0e28fad0bca829d49335ff15b6e98 /kopete/plugins/latex | |
parent | bcb704366cb5e333a626c18c308c7e0448a8e69f (diff) | |
download | tdenetwork-9fab5b8a216e283e563f3457315715672bc8b55a.tar.gz tdenetwork-9fab5b8a216e283e563f3457315715672bc8b55a.zip |
Update to Trinity 3.5.11
Will need to watch for commit warnings and rebuild test
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1061808 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/plugins/latex')
-rwxr-xr-x | kopete/plugins/latex/kopete_latexconvert.sh | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/kopete/plugins/latex/kopete_latexconvert.sh b/kopete/plugins/latex/kopete_latexconvert.sh index b7f92263..298ebbde 100755 --- a/kopete/plugins/latex/kopete_latexconvert.sh +++ b/kopete/plugins/latex/kopete_latexconvert.sh @@ -94,9 +94,7 @@ done # if test -n "`type -p mktemp`" ; then - tmpdir="`mktemp /tmp/tex2imXXXXXX`" - rm $tmpdir - mkdir $tmpdir + tmpdir="`mktemp -d /tmp/tex2imXXXXXX`" else tmpdir=/tmp/tex2im$$ if [ -e $tmpdir ] ; then @@ -171,7 +169,7 @@ fi #if [ -e "$infile" ]; then # cat $infile >> $tmpdir/out.tex #else - echo "$infile" >> $tmpdir/out.tex + printf '%s' "$infile" >> $tmpdir/out.tex #fi if [ $noformula -eq 1 ]; then @@ -222,7 +220,7 @@ else mv $tmpdir/out.$format.0 $outfile fi -let OPTIND=$OPTIND+1 +OPTIND=$((${OPTIND}+1)) outfile="" done |