This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository maintenancescripts. from 467aed8 git/hooks/update-script._check_: allow upstream/ prefix. new d357af1 git/hooks/common.sh: use $BASH_SOURCE[0] instead of just $BASH_SOURCE. new 148b9fb git/hooks/update-script._check_: check script name via $BASH_SOURCE[0] instead of using ${0} which may return the top-level invoking name. The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: git/hooks/common.sh | 2 +- git/hooks/update-script._check_ | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository maintenancescripts. commit d357af108a7d5d7b1abf50c7f188b7f02636cd9e Author: Mihai Moldovan <ionic@ionic.de> Date: Sat Sep 29 04:02:50 2018 +0200 git/hooks/common.sh: use $BASH_SOURCE[0] instead of just $BASH_SOURCE. --- git/hooks/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git/hooks/common.sh b/git/hooks/common.sh index 1e6b279..00d3f10 100755 --- a/git/hooks/common.sh +++ b/git/hooks/common.sh @@ -2,7 +2,7 @@ umask 002 -OUTSIDE_REPO="$(dirname "$(readlink -ne "${BASH_SOURCE}")")" +OUTSIDE_REPO="$(dirname "$(readlink -ne "${BASH_SOURCE[0]}")")" if [ "$(git rev-parse --is-bare-repository)" = "true" ]; then GIT_REPO_NAME="$(basename "${PWD}")" -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository maintenancescripts. commit 148b9fbdd93a7bbb24927e068a6a032904ffad1f Author: Mihai Moldovan <ionic@ionic.de> Date: Sat Sep 29 04:06:56 2018 +0200 git/hooks/update-script._check_: check script name via $BASH_SOURCE[0] instead of using ${0} which may return the top-level invoking name. --- git/hooks/update-script._check_ | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/git/hooks/update-script._check_ b/git/hooks/update-script._check_ index 63adcaf..7810f92 100755 --- a/git/hooks/update-script._check_ +++ b/git/hooks/update-script._check_ @@ -6,7 +6,8 @@ if [ -z "${UPDATE_DONE}" ]; then UPDATE_DONE="1" MERGE="0" - [ "$(basename "${0}")" = "update-script_check+allow-merges_" ] && MERGE="1" + typeset script_basename="$(basename "${BASH_SOURCE[0]}")" + [ "${script_basename}" = "update-script_check+allow-merges_" ] && MERGE="1" case "${1}" in (refs/tags/*) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git