diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-07-30 15:16:09 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-07-30 15:16:09 +0300 |
commit | 35c888632c7cfa8a2c2c3995c79277dd43a179af (patch) | |
tree | 2e78c32be7c263159dc36b3ab0b8f4c2e290686b | |
parent | 4d0f06d994df925462b370f6ad9fe007fdb9611c (diff) |
Fix brep-submit-git not to create project ownership manifest in target repo if present in reference
-rw-r--r-- | brep/handler/submit/submit-git.in | 4 |
1 files 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" |