summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
Diffstat (limited to 'roles')
-rw-r--r--roles/local_deploy/files/post-receive.private.sh2
-rw-r--r--roles/local_deploy/files/post-receive.public.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/local_deploy/files/post-receive.private.sh b/roles/local_deploy/files/post-receive.private.sh
index 527c520..8d416ca 100644
--- a/roles/local_deploy/files/post-receive.private.sh
+++ b/roles/local_deploy/files/post-receive.private.sh
@@ -1,2 +1,2 @@
#!/bin/sh
-sudo /usr/local/bin/extract_wrapper.sh
+sudo /usr/local/bin/extract_wrapper.sh $(readlink -e $GIT_DIR)
diff --git a/roles/local_deploy/files/post-receive.public.sh b/roles/local_deploy/files/post-receive.public.sh
index adcfa80..04d2830 100644
--- a/roles/local_deploy/files/post-receive.public.sh
+++ b/roles/local_deploy/files/post-receive.public.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-sudo /usr/local/bin/extract_wrapper.sh $GIT_DIR
+sudo /usr/local/bin/extract_wrapper.sh $(readlink -e $GIT_DIR)
#GIT_WORK_TREE=/etc/ansible/ git checkout -q -f
# run ansible
sudo /usr/local/bin/ansible_run.sh