diff --git a/hooks/pre-push b/hooks/pre-push index 125df9a..340b319 100755 --- a/hooks/pre-push +++ b/hooks/pre-push @@ -8,6 +8,5 @@ echo "[deploy] updating post-receive hook"; { ssh_host=$(echo $url | cut -d'/' -f3) ssh_path=$(echo $url | cut -d'/' -f4-) - echo scp hooks/post-receive ${ssh_host}:${ssh_path}/hooks/post-receive + scp hooks/post-receive ${ssh_host}:${ssh_path}/hooks/post-receive } -exit 1 \ No newline at end of file