aboutsummaryrefslogtreecommitdiffstats
path: root/roles/git/files/git-shell-commands/make-private
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-04-18 17:13:56 +0800
committerAaron LI <aly@aaronly.me>2018-04-18 17:13:56 +0800
commit453ece11323f34aca8288c288aced4cc2142b428 (patch)
treeceda353961470ff8c8b15e2425ad22a98399aed4 /roles/git/files/git-shell-commands/make-private
parent14784bbc80a47dcbec86bd501b7f3893b2b15dbf (diff)
downloadansible-dfly-vps-453ece11323f34aca8288c288aced4cc2142b428.tar.bz2
git: Update git shell commands; add git-cmds tag
Diffstat (limited to 'roles/git/files/git-shell-commands/make-private')
-rw-r--r--roles/git/files/git-shell-commands/make-private2
1 files changed, 1 insertions, 1 deletions
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