3
0
forked from pool/build-compare

- fix missing test in shell script

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=66
This commit is contained in:
Stephan Kulow 2012-02-16 21:00:43 +00:00 committed by Git OBS Bridge
parent d3c7f9d12f
commit bdde92fdfb
2 changed files with 7 additions and 2 deletions

View File

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

View File

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