pvscheck: Provide arguments to patch_sources in correct order

This commit is contained in:
ZyX
2017-05-20 05:06:16 +03:00
parent e14f678689
commit c585a72cdc

View File

@@ -306,7 +306,7 @@ realdir() {(
patch_sources() {(
local tgt="$1" ; shift
local only_bulid="${1:-}"
local only_bulid="${1}" ; shift
get_pvs_comment "$tgt"
@@ -420,7 +420,7 @@ main() {
set -x
if test -n "$patch" ; then
patch_sources "$only_build" "$tgt"
patch_sources "$tgt" "$only_build"
elif test -n "$pvs_install" ; then
install_pvs "$tgt" "$pvs_url"
elif test -n "$recheck" ; then