star-build

Automation tool for project installation
git clone git://git.meso-star.fr/star-build.git
Log | Files | Refs | README | LICENSE

commit 2d2a78d196695f1a62a8a578c3565e2a4bf1faf4
parent b5f77bd89dbdd02d7bd698cde30f3ea86ed4d49b
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Fri, 19 Jul 2024 09:44:34 +0200

Updating the URL of offline repositories

Use the 'file://' protocol instead of a normal path to provide git with
all its functionality when cloning repositories. For example, the
--depth 1 option is not supported when cloning from a normal path.

Correction of the REPO_BIN_OFFLINE URL when the MIRROR macro defines an
absolute path.

Diffstat:
Mconfig.mk | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/config.mk b/config.mk @@ -63,9 +63,9 @@ REPO_BIN_ONLINE = https://www.meso-star.com/packages/v0.4/ REPO_VAPLV_ONLINE = https://gitlab.com/vaplv # URLs for offline repositories -REPO_OFFLINE = $(MIRROR) -REPO_BIN_OFFLINE = "file://$$(pwd)/$(MIRROR)" -REPO_VAPLV_OFFLINE = $(MIRROR) +REPO_OFFLINE = "file://$$(cd $(MIRROR) && pwd)" +REPO_BIN_OFFLINE = "file://$$(cd $(MIRROR) && pwd)" +REPO_VAPLV_OFFLINE = "file://$$(cd $(MIRROR) && pwd)" # List of repositories to use depending on the state of the network REPO = $(REPO_$(NETWORK))