Explorar el Código

update SITE_REPO_URL, remove SITE_REPO_FETCH_METHOD

Karsten Böddeker hace 6 años
padre
commit
3b7aa34374
Se han modificado 1 ficheros con 1 adiciones y 9 borrados
  1. 1 9
      build.sh

+ 1 - 9
build.sh

@@ -18,7 +18,6 @@
 # PRIORITY    = determines the number of day a rollout phase should last at most
 # PUBLISH     = 0 (default) or 1, publish firmware at the end
 # SITE_ID     = specific site repository commit-id (leave blank to use HEAD)
-# SITE_REPO_FETCH_METHOD = http, everything except "git" will use the HTTP method for fetchting site repo
 # TARGETS     = a space separated list of target platforms (if unset, all platforms will be build)
 # VERBOSE     = 0 (default) or 1, call the make commands with 'V=s' to see actual errors better
 # VERSIONS_DIR = specify directory for version files
@@ -47,7 +46,7 @@ SRV_USER="firmware"
 SRV_PATH="/srv/firmware"
 
 BUILD_INFO_FILENAME="build-info.txt"
-SITE_REPO_URL="git.c3pb.de/freifunk-pb/site-ffho.git"
+SITE_REPO_URL="https://git.ffho.net/freifunkhochstift/ffho-site.git"
 LANG=C
 
 pushd ${MY_DIR} > /dev/null
@@ -90,15 +89,8 @@ fi
 [ -n "${MAKEJOBS}" ] || MAKEJOBS=$(grep -c "^processor" /proc/cpuinfo)
 [ -n "${PRIORITY}" ] || PRIORITY=0
 [ -n "${PUBLISH}" ] || PUBLISH=0
-[ -n "${SITE_REPO_FETCH_METHOD}" ] || SITE_REPO_FETCH_METHOD="http"
 [ -n "${VERBOSE}" ] || VERBOSE=0
 
-if [ "${SITE_REPO_FETCH_METHOD}" != "git" ]; then
-	SITE_REPO_URL="https://${SITE_REPO_URL}"
-else
-	SITE_REPO_URL="git@${SITE_REPO_URL}"
-fi
-
 MAKE_PARAM=""
 [ "${VERBOSE}" -eq "1" ] && MAKE_PARAM="${MAKE_PARAM} V=s"