From ae95269c4e1ca6e997f59e334d8ea5173e867606 Mon Sep 17 00:00:00 2001 From: danish9039 Date: Fri, 31 Jan 2025 22:00:12 +0530 Subject: [PATCH] extracted url for scripts into variable Signed-off-by: danish9039 --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1468a07..e057a80 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ # Copyright (c) 2023 The Jaeger Authors. # SPDX-License-Identifier: Apache-2.0 +SCRIPTS_URL = https://raw.githubusercontent.com/jaegertracing/jaeger/main/scripts JAEGER_IMPORT_PATH = github.com/jaegertracing/jaeger-idl @@ -230,9 +231,9 @@ lint-imports: setup-lint-scripts .PHONY: setup-lint-scripts setup-lint-scripts: @mkdir -p .scripts/lint - @curl -s -o .scripts/lint/import-order-cleanup.py https://raw.githubusercontent.com/jaegertracing/jaeger/main/scripts/lint/import-order-cleanup.py + @curl -s -o .scripts/lint/import-order-cleanup.py $(SCRIPTS_URL)/lint/import-order-cleanup.py @chmod +x .scripts/lint/import-order-cleanup.py - @curl -s -o .scripts/lint/updateLicense.py https://raw.githubusercontent.com/jaegertracing/jaeger/main/scripts/lint/updateLicense.py + @curl -s -o .scripts/lint/updateLicense.py $(SCRIPTS_URL)/lint/updateLicense.py @chmod +x .scripts/lint/updateLicense.py .PHONY: fmt