[X2Go-Commits] [maintenancescripts] 01/01: git/hooks/post-receive: select proper token.sh file - outside of the git repository.

git-admin at x2go.org git-admin at x2go.org
Sat Dec 3 04:16:10 CET 2022


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository maintenancescripts.

commit d2121b4080a4065d5155ede335293f3da37fec2d
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sat Dec 3 04:16:07 2022 +0100

    git/hooks/post-receive: select proper token.sh file - outside of the git repository.
---
 git/hooks/post-receive | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/git/hooks/post-receive b/git/hooks/post-receive
index 7efe221..3310a11 100755
--- a/git/hooks/post-receive
+++ b/git/hooks/post-receive
@@ -13,7 +13,7 @@
 # rename the file to "post-receive".
 
 . "hooks/common.sh"
-. "hooks/token.sh"
+. "${OUTSIDE_REPO}/token.sh"
 
 GIT_REPO_URL="git://code.x2go.org/${GIT_REPO_NAME}"
 curl "http://jenkins.x2go.org:8080/git/notifyCommit?url=${GIT_REPO_URL}&token=${JENKINS_TOKEN}"

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git


More information about the x2go-commits mailing list