From 91978818bd011540d38dfef5d443200e6725b9586bf9d760a2dbe60cc19b38f7 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Mon, 4 Jan 2016 09:41:00 +0000 Subject: [PATCH] - Fix quoting in find expression OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=197 --- build-compare.changes | 5 +++++ build-compare.spec | 4 ++-- same-build-result.sh | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/build-compare.changes b/build-compare.changes index 291e198..9eca120 100644 --- a/build-compare.changes +++ b/build-compare.changes @@ -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 diff --git a/build-compare.spec b/build-compare.spec index 425d000..916338e 100644 --- a/build-compare.spec +++ b/build-compare.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -21,7 +21,7 @@ Summary: Build Result Compare Script License: GPL-2.0+ Group: Development/Tools/Building Url: https://github.com/openSUSE/build-compare -Version: 20151022T083541.cd832db +Version: 20160104T085658.0b929c8 Release: 0 Source1: COPYING Source2: same-build-result.sh diff --git a/same-build-result.sh b/same-build-result.sh index 11b353e..d41e108 100644 --- a/same-build-result.sh +++ b/same-build-result.sh @@ -134,7 +134,7 @@ if test -n "$OTHERDIR"; then SUCCESS=0 fi - appdatas=`cd $OTHERDIR && find . -name *-appdata.xml` + appdatas=$(cd $OTHERDIR && find . -name "*-appdata.xml") for xml in $appdatas; do # compare appstream data if test -e $OLDDIR/$xml -a -e $OTHERDIR/$xml; then