Accepting request 100065 from openSUSE:Tools

Fix syntax error (forwarded request 100064 from a_jaeger)

OBS-URL: https://build.opensuse.org/request/show/100065
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=61
This commit is contained in:
Stephan Kulow 2012-01-12 16:12:40 +00:00 committed by Git OBS Bridge
commit 70e741ae9a
2 changed files with 9 additions and 2 deletions

View File

@ -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

View File

@ -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