Another quoting bug in same-build-result.sh

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=203
This commit is contained in:
2016-03-08 12:48:20 +00:00
committed by Git OBS Bridge
parent 08de9f49df
commit 7a8cd97426
2 changed files with 3 additions and 2 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: 20160308T125206.d67251d Version: 20160308T134726.8485d3c
Release: 0 Release: 0
Source1: COPYING Source1: COPYING
Source2: same-build-result.sh Source2: same-build-result.sh

View File

@@ -21,6 +21,7 @@ _x() {
} }
trap _x EXIT trap _x EXIT
# #
check_all=
if test "$1" = "-a" if test "$1" = "-a"
then then
check_all="-a" check_all="-a"
@@ -112,7 +113,7 @@ for opac in ${OLDRPMS[*]}; do
echo "skipping -debuginfo package" echo "skipping -debuginfo package"
;; ;;
*) *)
bash $CMPSCRIPT "$check_all" "$opac" "$npac" || SUCCESS=0 bash $CMPSCRIPT $check_all "$opac" "$npac" || SUCCESS=0
;; ;;
esac esac
done done