- Fix quoting in find expression

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=197
This commit is contained in:
Olaf Hering 2016-01-04 09:41:00 +00:00 committed by Git OBS Bridge
parent 1ec92090ef
commit 91978818bd
3 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jan 1 10:11:14 UTC 2016 - schwab@suse.de
- Fix quoting in find expression
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 22 06:29:44 UTC 2015 - olaf@aepfle.de Thu Oct 22 06:29:44 UTC 2015 - olaf@aepfle.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package build-compare # spec file for package build-compare
# #
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -21,7 +21,7 @@ Summary: Build Result Compare Script
License: GPL-2.0+ License: GPL-2.0+
Group: Development/Tools/Building Group: Development/Tools/Building
Url: https://github.com/openSUSE/build-compare Url: https://github.com/openSUSE/build-compare
Version: 20151022T083541.cd832db Version: 20160104T085658.0b929c8
Release: 0 Release: 0
Source1: COPYING Source1: COPYING
Source2: same-build-result.sh Source2: same-build-result.sh

View File

@ -134,7 +134,7 @@ if test -n "$OTHERDIR"; then
SUCCESS=0 SUCCESS=0
fi fi
appdatas=`cd $OTHERDIR && find . -name *-appdata.xml` appdatas=$(cd $OTHERDIR && find . -name "*-appdata.xml")
for xml in $appdatas; do for xml in $appdatas; do
# compare appstream data # compare appstream data
if test -e $OLDDIR/$xml -a -e $OTHERDIR/$xml; then if test -e $OLDDIR/$xml -a -e $OTHERDIR/$xml; then