From 3fa66733056a2d7c1b2afcf2eca978a7c29bedc3 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Tue, 28 May 2024 18:45:19 +0200 Subject: ["shell", "cmds"]: correctly join PATH ... as shell environment variable has to be a string, not a list. --- shell/RULES | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/shell/RULES b/shell/RULES index 3175c34..41530a2 100644 --- a/shell/RULES +++ b/shell/RULES @@ -255,7 +255,11 @@ , "then": { "type": "singleton_map" , "key": "PATH" - , "value": {"type": "var", "name": "PATH"} + , "value": + { "type": "join" + , "separator": ":" + , "$1": {"type": "var", "name": "PATH"} + } } , "else": {"type": "empty_map"} } -- cgit v1.2.3