From 35c888632c7cfa8a2c2c3995c79277dd43a179af Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 30 Jul 2020 15:16:09 +0300 Subject: Fix brep-submit-git not to create project ownership manifest in target repo if present in reference --- brep/handler/submit/submit-git.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/brep/handler/submit/submit-git.in b/brep/handler/submit/submit-git.in index 6b94366..34b1e90 100644 --- a/brep/handler/submit/submit-git.in +++ b/brep/handler/submit/submit-git.in @@ -557,7 +557,7 @@ for i in {1..11}; do # prj_man="$d/project-owner.manifest" - if [ ! -f "$prj_man" ]; then + if [ ! -f "$prj_man" -a "$ref_auth" != "project" ]; then run mkdir -p "$d" # Also creates the owners directory if not exist. ctl="$(repository_base "$control")" @@ -574,7 +574,7 @@ for i in {1..11}; do # Now the package name. # d="$d/$name" - run mkdir "$d" + run mkdir -p "$d" # Also creates the project directory if not exist. pkg_man="$d/package-owner.manifest" -- cgit v1.1