diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-11-30 16:18:07 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-11-30 16:35:52 +0100 |
commit | a4256c55038013be9fb3fbfe0f2e139609bc0504 (patch) | |
tree | c12921da5ec60dbab8a54eb583302b298075379d /CC/foreign/make | |
parent | 96f7a9f47ee4dafccced87e44f98afa3f14a3df9 (diff) | |
download | rules-cc-a4256c55038013be9fb3fbfe0f2e139609bc0504.tar.gz |
CC/foreign/shell rules: avoid empty path segment
... and hence accidentally picking up executables from the
current working directory.
Diffstat (limited to 'CC/foreign/make')
-rw-r--r-- | CC/foreign/make/EXPRESSIONS | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CC/foreign/make/EXPRESSIONS b/CC/foreign/make/EXPRESSIONS index b03e056..5556f20 100644 --- a/CC/foreign/make/EXPRESSIONS +++ b/CC/foreign/make/EXPRESSIONS @@ -256,7 +256,7 @@ , { "type": "join_cmd" , "$1": [{"type": "var", "name": "PATH"}] } - , ")\":$PATH" + , ")${PATH:+:}${PATH}\"" ] } ] |