Change in docker-playground[master]: make/Makefile: use git to get the project's root directory

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

fixeria gerrit-no-reply at lists.osmocom.org
Wed Mar 10 17:48:54 UTC 2021


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/docker-playground/+/23316 )


Change subject: make/Makefile: use git to get the project's root directory
......................................................................

make/Makefile: use git to get the project's root directory

Change-Id: I87a425515692e62df7b593a3c2a5b88a765d217d
---
M make/Makefile
1 file changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/16/23316/1

diff --git a/make/Makefile b/make/Makefile
index 5280bef..f149291 100644
--- a/make/Makefile
+++ b/make/Makefile
@@ -41,7 +41,8 @@
 OSMOCOM_REPO_VERSION?=latest
 # Use "nightly" to use the nightly repo
 
-RELEASE_SUPPORT := $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST))))/.make-release-support
+ROOT_DIR=$(shell git rev-parse --show-toplevel)
+RELEASE_SUPPORT := $(ROOT_DIR)/make/.make-release-support
 IMAGE?=$(REGISTRY_HOST)/$(USER)/$(NAME)
 
 VERSION?=$(shell . $(RELEASE_SUPPORT) ; getRelease)

-- 
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/23316
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I87a425515692e62df7b593a3c2a5b88a765d217d
Gerrit-Change-Number: 23316
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210310/08bbadbd/attachment.htm>


More information about the gerrit-log mailing list