From ccaa1af9b2b5809bfaf0c35b529c78baa2a81b8b Mon Sep 17 00:00:00 2001 From: Juan Miguel Carceller <22276694+jmcarcell@users.noreply.github.com> Date: Wed, 3 Jul 2024 21:54:37 +0200 Subject: [PATCH] Use set instead of prepend_path to avoid a : at the end of the path (#606) --- packages/cldconfig/package.py | 2 +- packages/fcc-config/package.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cldconfig/package.py b/packages/cldconfig/package.py index 4b98bfb4..c7362feb 100644 --- a/packages/cldconfig/package.py +++ b/packages/cldconfig/package.py @@ -36,4 +36,4 @@ def cmake_args(self): return args def setup_run_environment(self, env): - env.prepend_path("CLDCONFIG", self.prefix) + env.set("CLDCONFIG", self.prefix) diff --git a/packages/fcc-config/package.py b/packages/fcc-config/package.py index 4207dd10..199f2ff1 100644 --- a/packages/fcc-config/package.py +++ b/packages/fcc-config/package.py @@ -22,4 +22,4 @@ def cmake_args(self): return args def setup_run_environment(self, env): - env.prepend_path("FCCCONFIG", self.prefix) + env.set("FCCCONFIG", self.prefix)