Use cwdiff.
This commit is contained in:
parent
a90ad4b134
commit
d47dbd0247
1 changed files with 5 additions and 1 deletions
6
odtdiff
6
odtdiff
|
|
@ -162,7 +162,11 @@ Main ()
|
||||||
odt2txt "$file2" > "$ft2" 2>/dev/null
|
odt2txt "$file2" > "$ft2" 2>/dev/null
|
||||||
then
|
then
|
||||||
|
|
||||||
if $DIFF_PROGRAM -L "$file1" -L "$file2" $opts "$ft1" "$ft2"
|
diffopts="-L \"$file1\" -L \"$file2\""
|
||||||
|
if [ "$diff_prg_name" == "cwdiff" ]; then
|
||||||
|
diffopts="--diff-opts \"--new-file --unified --show-c-function --recursive -L \"$file1\" -L \"$file2\""
|
||||||
|
fi
|
||||||
|
if $DIFF_PROGRAM $opts "$ft1" "$ft2"
|
||||||
then
|
then
|
||||||
# no text change
|
# no text change
|
||||||
if diff -q "$file1" "$file2"; then
|
if diff -q "$file1" "$file2"; then
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue