diff --git a/build-compare.changes b/build-compare.changes index bba341d..ba3307f 100644 --- a/build-compare.changes +++ b/build-compare.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 12 12:59:31 UTC 2012 - aj@suse.de + +- Fix syntax in same-build-result.sh. + ------------------------------------------------------------------- Mon Jan 9 13:15:33 UTC 2012 - aj@suse.de diff --git a/same-build-result.sh b/same-build-result.sh index e4fbb0b..ecaa7bb 100644 --- a/same-build-result.sh +++ b/same-build-result.sh @@ -86,8 +86,10 @@ if [ -n "${NEWRPMS[0]}" ]; then fi # Compare rpmlint.log files -RPMLINTDIR=$NEWDIRS/../OTHER -if [ -e $OLDDIR/rpmlint.log && -e $RPMLINTDIR/rpmlint.log ]; then +RPMLINTDIR=/home/abuild/rpmbuild/OTHER + +if test -e $OLDDIR/rpmlint.log -a -e $RPMLINTDIR/rpmlint.log; then + echo "comparing $OLDDIR/rpmlint.log and $RPMLINTDIR/rpmlint.log" if ! cmp -s $OLDDIR/rpmlint.log $RPMLINTDIR/rpmlint.log; then echo "rpmlint.log files differ:" diff -u $OLDDIR/rpmlint.log $RPMLINTDIR/rpmlint.log|head -n 20