From a4256c55038013be9fb3fbfe0f2e139609bc0504 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Thu, 30 Nov 2023 16:18:07 +0100 Subject: CC/foreign/shell rules: avoid empty path segment ... and hence accidentally picking up executables from the current working directory. --- CC/foreign/shell/EXPRESSIONS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CC/foreign/shell/EXPRESSIONS') diff --git a/CC/foreign/shell/EXPRESSIONS b/CC/foreign/shell/EXPRESSIONS index 1ed7daa..572835c 100644 --- a/CC/foreign/shell/EXPRESSIONS +++ b/CC/foreign/shell/EXPRESSIONS @@ -251,7 +251,7 @@ , { "type": "join_cmd" , "$1": [{"type": "var", "name": "PATH"}] } - , ")\":$PATH" + , ")${PATH:+:}${PATH}\"" ] } ] -- cgit v1.2.3