X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=do_patch;h=e886e2a3e214f11ddc32f68bd99aa16dea84b301;hb=8d005867845651e014c233986a6ebe69d5e3744f;hp=c48dcb23ddd57e1dfab0e3101ca1391e4df48bbb;hpb=2e06b9fa1987fc605256698a9243fd6f3b50d25b;p=next-scripts diff --git a/do_patch b/do_patch index c48dcb2..e886e2a 100755 --- a/do_patch +++ b/do_patch @@ -27,7 +27,7 @@ GIT_EDITOR=: execute git am -3 "$patch" || exit 1 $no_build && exit 0 -git push -f "$build_host":"$build_dir" master:refs/heads/next || { +git push -f "${build_host}${build_host:+:}${build_dir}" master:refs/heads/next || { echo git push failed 1>&2 bash -i || exit }