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 <[email protected]>
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
_______________________________________________
x2go-commits mailing list
[email protected]
https://lists.x2go.org/listinfo/x2go-commits

Reply via email to