aboutsummaryrefslogtreecommitdiff
path: root/scripts/pvscheck.sh
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2017-05-20 05:06:16 +0300
committerZyX <kp-pav@yandex.ru>2017-05-20 05:06:16 +0300
commitc585a72cdc6d2cb7f507c59eb4a6981e54c77ebc (patch)
tree6a28da16b3ad0c563e6b2a33ff70215a5031c718 /scripts/pvscheck.sh
parente14f678689c172e0307546dfae2358e76c54fec4 (diff)
downloadrneovim-c585a72cdc6d2cb7f507c59eb4a6981e54c77ebc.tar.gz
rneovim-c585a72cdc6d2cb7f507c59eb4a6981e54c77ebc.tar.bz2
rneovim-c585a72cdc6d2cb7f507c59eb4a6981e54c77ebc.zip
pvscheck: Provide arguments to `patch_sources` in correct order
Diffstat (limited to 'scripts/pvscheck.sh')
-rwxr-xr-xscripts/pvscheck.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/pvscheck.sh b/scripts/pvscheck.sh
index 949021a174..ca85b6be7f 100755
--- a/scripts/pvscheck.sh
+++ b/scripts/pvscheck.sh
@@ -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