]> code.x2go.org Git - maintenancescripts.git/commitdiff
git/hooks/post-receive: select proper token.sh file - outside of the git repository.
authorMihai Moldovan <[email protected]>
Sat, 3 Dec 2022 03:16:07 +0000 (04:16 +0100)
committerMihai Moldovan <[email protected]>
Sat, 3 Dec 2022 03:16:07 +0000 (04:16 +0100)
git/hooks/post-receive

index 7efe2211d14c6776a8c761e6031b50c25e54d271..3310a11817b2e9d68e85989dd47a64945065c636 100755 (executable)
@@ -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}"