From c6c5437b80245d002b2755cceb65f0cd24cb8324 Mon Sep 17 00:00:00 2001 From: Mathieu Benoit Date: Wed, 3 Dec 2025 05:04:16 -0500 Subject: [PATCH] [FIX] makefile: ignore odoo-version when not existing --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ea2a68d..fc9920f 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,11 @@ SHELL := /bin/bash -LOG_FILE := ./.venv.$(cat ".erplibre-version" | xargs)/make_test.log -ODOO_VERSION := $(shell cat .odoo-version | xargs) +ERPLIBRE_VERSION := $(strip \ + $(if $(wildcard .erplibre-version),$(shell cat .erplibre-version),) \ +) +ODOO_VERSION := $(strip \ + $(if $(wildcard .odoo-version),$(shell cat .odoo-version),) \ +) +LOG_FILE := ./.venv.$(ERPLIBRE_VERSION)/make_test.log ############# # General # #############