diff options
Diffstat (limited to 'roles/obsd_git/templates/git-shell-commands')
| -rw-r--r-- | roles/obsd_git/templates/git-shell-commands/create | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/obsd_git/templates/git-shell-commands/create b/roles/obsd_git/templates/git-shell-commands/create index 9ac25a5..53899eb 100644 --- a/roles/obsd_git/templates/git-shell-commands/create +++ b/roles/obsd_git/templates/git-shell-commands/create @@ -11,13 +11,13 @@ main() { repo_name=$(basename "$REPO" .git) if [ -n "$PROJ" ]; then - proj_dir="{{ git_home }}/$VISIBILITY/$PROJ" + proj_dir="{{ obsd_git_home }}/$VISIBILITY/$PROJ" if [ ! -d "$proj_dir" ]; then mkdir "$proj_dir" fi repo_path="$proj_dir/$repo_name.git" else - repo_path="{{ git_home }}/$VISIBILITY/$repo_name.git" + repo_path="{{ obsd_git_home }}/$VISIBILITY/$repo_name.git" fi if [ ! -d "$repo_path" ]; then |