aboutsummaryrefslogtreecommitdiffstats
path: root/roles/git/files/git-shell-commands/make-private
diff options
context:
space:
mode:
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