From 08de9f49df9c32b35ad0fdd1ea6887fc905f0173e0ff8ee9b730f22dda3864ef Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Tue, 8 Mar 2016 11:55:22 +0000 Subject: [PATCH] Remove quoting from directory arguments OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=202 --- build-compare.spec | 2 +- same-build-result.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build-compare.spec b/build-compare.spec index 208b620..216b1e8 100644 --- a/build-compare.spec +++ b/build-compare.spec @@ -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: 20160307T125659.618d059 +Version: 20160308T125206.d67251d Release: 0 Source1: COPYING Source2: same-build-result.sh diff --git a/same-build-result.sh b/same-build-result.sh index 543d0ff..a5f13bf 100644 --- a/same-build-result.sh +++ b/same-build-result.sh @@ -73,14 +73,14 @@ bash $SCMPSCRIPT "$osrpm" "$nsrpm" || exit 1 # problem: a package can contain both noarch and arch subpackages, so we have to # take care of proper sorting of NEWRPMS, e.g. noarch/x.rpm and x86_64/w.rpm since OLDRPMS # has all the packages in a single directory and would sort this as w.rpm, x.rpm. -find "$OLDDIR" -type f -name '*.rpm' \ +find $OLDDIR -type f -name '*.rpm' \ -a ! -name '*src.rpm' \ -a ! -name '*.delta.rpm' \ -a ! -name '*-32bit-*' \ -a ! -name '*-64bit-*' \ -a ! -name '*-x86-*.ia64.rpm' \ > ${file1} -find "$NEWDIRS" -type f -name '*.rpm' \ +find $NEWDIRS -type f -name '*.rpm' \ -a ! -name '*src.rpm' \ -a ! -name '*.delta.rpm' \ -a ! -name '*-32bit-*' \