From 453ece11323f34aca8288c288aced4cc2142b428 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Wed, 18 Apr 2018 17:13:56 +0800 Subject: git: Update git shell commands; add git-cmds tag --- roles/git/files/git-shell-commands/make-private | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/git/files/git-shell-commands/make-private') diff --git a/roles/git/files/git-shell-commands/make-private b/roles/git/files/git-shell-commands/make-private index 432d847..566b017 100644 --- a/roles/git/files/git-shell-commands/make-private +++ b/roles/git/files/git-shell-commands/make-private @@ -17,7 +17,7 @@ fi project="${1%.[gG][iI][tT]}.git" -if [ ! -d "${project}" ]; then +if [ ! -d "${HOME}/${project}" ]; then echo "ERROR: repository '${project}' not exists!" exit 2 elif [ -L "${PUBLIC}/${project}" ]; then -- cgit v1.2.2