Skip to content

Commit 2e0988d

Browse files
committed
env.sh: Allow git URI to be overridden
1 parent ede1e1e commit 2e0988d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/env.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
# TARGET_WORKSPACE is the workspace directory to keep the sandboxes
1919
# TARGET_TOOLKIT controls development package installs
2020
# can be unset or one of framebuffer, gtk2, gtk3, qt6
21+
# REPO_BASE_URI sets the base address to git clone from
2122
#
2223
# The use of HOST and BUILD here is directly comprable to the GCC
2324
# usage as described at:
@@ -321,7 +322,7 @@ export NETSURF_GTK_MAJOR
321322
MAKE=make
322323

323324
# NetSurf GIT repositories
324-
NS_GIT="git://git.netsurf-browser.org"
325+
NS_GIT="${REPO_BASE_URI:-git://git.netsurf-browser.org}"
325326

326327
# Buildsystem: everything depends on this
327328
NS_BUILDSYSTEM="buildsystem"

0 commit comments

Comments
 (0)