3
0
forked from pool/build-compare

Remove quoting from directory arguments

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=202
This commit is contained in:
Olaf Hering 2016-03-08 11:55:22 +00:00 committed by Git OBS Bridge
parent 9abd4b5365
commit 08de9f49df
2 changed files with 3 additions and 3 deletions

View File

@ -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: 20160307T125659.618d059 Version: 20160308T125206.d67251d
Release: 0 Release: 0
Source1: COPYING Source1: COPYING
Source2: same-build-result.sh Source2: same-build-result.sh

View File

@ -73,14 +73,14 @@ bash $SCMPSCRIPT "$osrpm" "$nsrpm" || exit 1
# problem: a package can contain both noarch and arch subpackages, so we have to # 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 # 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. # 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 '*src.rpm' \
-a ! -name '*.delta.rpm' \ -a ! -name '*.delta.rpm' \
-a ! -name '*-32bit-*' \ -a ! -name '*-32bit-*' \
-a ! -name '*-64bit-*' \ -a ! -name '*-64bit-*' \
-a ! -name '*-x86-*.ia64.rpm' \ -a ! -name '*-x86-*.ia64.rpm' \
> ${file1} > ${file1}
find "$NEWDIRS" -type f -name '*.rpm' \ find $NEWDIRS -type f -name '*.rpm' \
-a ! -name '*src.rpm' \ -a ! -name '*src.rpm' \
-a ! -name '*.delta.rpm' \ -a ! -name '*.delta.rpm' \
-a ! -name '*-32bit-*' \ -a ! -name '*-32bit-*' \