summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/sbuild-deb-package3
-rw-r--r--home/.buildscripts/arctica.conf1
2 files changed, 3 insertions, 1 deletions
diff --git a/bin/sbuild-deb-package b/bin/sbuild-deb-package
index 7278206..4d81bd6 100755
--- a/bin/sbuild-deb-package
+++ b/bin/sbuild-deb-package
@@ -20,6 +20,7 @@
export PATH="${HOME}/bin:${PATH}"
GIT_USER="gituser"
+GIT_TRANSPORT="https"
GIT_HOSTNAME="git.mydomain.org"
DEBEMAIL="firstname.lastname@mydomain.org"
@@ -132,7 +133,7 @@ prepare_workspace() {
cd ${my_WORKDIR}
if [ ! -d ${PROJECT}/.git ]; then
- git clone --no-hardlinks --no-local "git://${GIT_HOSTNAME}/${PROJECT_PATH}.git"
+ git clone --no-hardlinks --no-local "${GIT_TRANSPORT}://${GIT_HOSTNAME}/${PROJECT_PATH}.git"
cd "${PROJECT}"
git checkout --force "${CHECKOUT}" || git checkout --force -b "${CHECKOUT}"
diff --git a/home/.buildscripts/arctica.conf b/home/.buildscripts/arctica.conf
index 898f6fe..218cc46 100644
--- a/home/.buildscripts/arctica.conf
+++ b/home/.buildscripts/arctica.conf
@@ -2,6 +2,7 @@
GIT_USER=""
GIT_HOSTNAME="cgit.arctica-project.org"
+GIT_TRANSPORT="git"
GIT_SSH_PORT=""
DEBEMAIL="build-daemon+${HOSTNAME}@arctica-project.org"