From e5fa3f7374e91d00875367abd5b6e68d012414a6 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Fri, 11 Dec 2015 13:44:18 +0100 Subject: [PATCH] Point to /srv/git/repositories as this is both backward and forward compatible And adjust the documentation to mkbranch --- roles/distgit/files/mkbranch | 5 ++--- roles/distgit/files/setup_git_package | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/roles/distgit/files/mkbranch b/roles/distgit/files/mkbranch index 9873202119..bde1f1e782 100644 --- a/roles/distgit/files/mkbranch +++ b/roles/distgit/files/mkbranch @@ -10,7 +10,7 @@ # Figure out the environment we're running in RUNDIR=$(cd $(dirname $0) && pwd) -GITROOT=/srv/git/rpms +GITROOT=/srv/git/repositories # check if a moron is driving me if [ ! -d $GITROOT ] ; then @@ -41,9 +41,8 @@ Usage: The /master suffix on branch names is assumed. Options: - /master suffix on other branches assumed -n,--test Don't do nothing, only test - -i,--ignore Ignore erroneous modules + -i,--ignore Ignore erroneous modules -h,--help This help message -v,--verbose Increase verbosity EOF diff --git a/roles/distgit/files/setup_git_package b/roles/distgit/files/setup_git_package index 67103ecc19..3737e06ce9 100644 --- a/roles/distgit/files/setup_git_package +++ b/roles/distgit/files/setup_git_package @@ -9,7 +9,7 @@ # Figure out the environment we're running in -GITROOT=/srv/git/rpms +GITROOT=/srv/git/repositories # check if a moron is driving me if [ ! -d $GITROOT ] ; then