diff --git a/build-compare.spec b/build-compare.spec index 71be5b7..b559173 100644 --- a/build-compare.spec +++ b/build-compare.spec @@ -21,7 +21,7 @@ Summary: Build Result Compare Script License: GPL-2.0+ Group: Development/Tools/Building Url: https://github.com/openSUSE/build-compare -Version: 20180528T152809.3cec12e +Version: 20180529T215607.c58679f Release: 0 Source1: COPYING Source2: same-build-result.sh diff --git a/pkg-diff.sh b/pkg-diff.sh index 5e5f53e..0409291 100644 --- a/pkg-diff.sh +++ b/pkg-diff.sh @@ -307,8 +307,8 @@ diff_two_files() mkfifo -m 0600 $pn offset=$(( ($offset >> 6) << 6 )) length=512 - hexdump -C -s $offset -l $length old/$file > $po & - hexdump -C -s $offset -l $length new/$file > $pn & + hexdump -C -s $offset -n $length old/$file > $po & + hexdump -C -s $offset -n $length new/$file > $pn & diff -u $po $pn | $buildcompare_head rm -f $po $pn return 1