From bdde92fdfb837d0a1612921b8726d7dceb70cc498102b0f6cb91976bf54f6a94 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Thu, 16 Feb 2012 21:00:43 +0000 Subject: [PATCH] - fix missing test in shell script OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=66 --- build-compare.changes | 5 +++++ same-build-result.sh | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/build-compare.changes b/build-compare.changes index a498d54..79daad7 100644 --- a/build-compare.changes +++ b/build-compare.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 16 21:00:31 UTC 2012 - coolo@suse.com + +- fix missing test in shell script + ------------------------------------------------------------------- Thu Feb 16 13:39:21 UTC 2012 - coolo@suse.com diff --git a/same-build-result.sh b/same-build-result.sh index a1e718b..db630b1 100644 --- a/same-build-result.sh +++ b/same-build-result.sh @@ -106,7 +106,7 @@ if test -e $OLDDIR/rpmlint.log -a -e $OTHERDIR/rpmlint.log; then SUCCESS=0 fi rm $file1 $file2 -elif -e $OTHERDIR/rpmlint.log; then +elif test -e $OTHERDIR/rpmlint.log; then echo "rpmlint.log is new" SUCCESS=0 fi @@ -120,7 +120,7 @@ if test -e $OLDDIR/appdata.xml -a -e $OTHERDIR/appdata.xml; then diff -u0 $file1 $file2 |head -n 20 SUCCESS=0 fi -elif -e $OTHERDIR/appdata.xml; then +elif test -e $OTHERDIR/appdata.xml; then echo "appdata.xml is new" SUCCESS=0 fi