From f66b340d05ee544bd57da7e719dc26da4f748e62 Mon Sep 17 00:00:00 2001 From: Sayan Naskar Date: Mon, 2 Jul 2018 09:55:54 +0530 Subject: [PATCH] Updated git_clone to not verify ssl https://stash.z-hub.io/projects/ZP/repos/z-push/browse is no longer an https, due to which clone fails unless no-ssl-verification is enabled. --- setup/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/functions.sh b/setup/functions.sh index 75c6821e5..d9000d3ee 100644 --- a/setup/functions.sh +++ b/setup/functions.sh @@ -205,7 +205,7 @@ function git_clone { TARGETPATH=$4 TMPPATH=/tmp/git-clone-$$ rm -rf $TMPPATH $TARGETPATH - git clone -q $REPO $TMPPATH || exit 1 + git clone -c http.sslVerify=false -q $REPO $TMPPATH || exit 1 (cd $TMPPATH; git checkout -q $TREEISH;) || exit 1 mv $TMPPATH/$SUBDIR $TARGETPATH rm -rf $TMPPATH