The Unified and Autonomous Development Platform
Change to use bash instead of sh.
robin shine4e732f87814d
diff --git a/gitplex.core/src/main/resources/git-postreceive-hook b/gitplex.core/src/main/resources/git-postreceive-hookindex 942ff54983..72a7c0db83 100644--- a/gitplex.core/src/main/resources/git-postreceive-hook+++ b/gitplex.core/src/main/resources/git-postreceive-hook@@ -1,4 +1,4 @@-#!/bin/sh+#!/bin/bashIFS=$'\r\n';lines=($(curl -k -s -S -f -X POST -d @- ${GITOP_URL}/git-postreceive-callback/${GITOP_REPOSITORY_ID}/${GITOP_USER_ID} 2>&1))diff --git a/gitplex.core/src/main/resources/git-update-hook b/gitplex.core/src/main/resources/git-update-hookindex f367dfeaab..3cdd9342a3 100644--- a/gitplex.core/src/main/resources/git-update-hook+++ b/gitplex.core/src/main/resources/git-update-hook@@ -1,4 +1,4 @@-#!/bin/sh+#!/bin/bashIFS=$'\r\n';lines=($(curl -k -s -S -f -X POST -d @- ${GITOP_URL}/git-update-callback/${GITOP_REPOSITORY_ID}/${GITOP_USER_ID} 2>&1 <<EOF