summaryrefslogtreecommitdiff
path: root/rules/CC/EXPRESSIONS
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2024-11-06 14:45:05 +0100
committerKlaus Aehlig <klaus.aehlig@huawei.com>2024-11-06 14:45:05 +0100
commit9daa85fed4535baecc092133aab337bd27726ff2 (patch)
tree0629c28148d2944e49ecdacf1fa1424a0e17ea0a /rules/CC/EXPRESSIONS
parent02490fb528ed90702eb4b71917f33ec9aa894252 (diff)
parent2b07a15b20ed814f253ec3bc7f0ee089ccd066f2 (diff)
downloadrules-cc-9daa85fed4535baecc092133aab337bd27726ff2.tar.gz
Merge subtree 'rules' into rules-cc
Diffstat (limited to 'rules/CC/EXPRESSIONS')
-rw-r--r--rules/CC/EXPRESSIONS12
1 files changed, 2 insertions, 10 deletions
diff --git a/rules/CC/EXPRESSIONS b/rules/CC/EXPRESSIONS
index fe6f9cb..c616dfa 100644
--- a/rules/CC/EXPRESSIONS
+++ b/rules/CC/EXPRESSIONS
@@ -2829,16 +2829,8 @@
}
]
}
- , "cmd":
- [ "sh"
- , "-c"
- , { "type": "join"
- , "$1":
- [ "cd work && "
- , {"type": "join_cmd", "$1": {"type": "var", "name": "cmd"}}
- ]
- }
- ]
+ , "cmd": {"type": "var", "name": "cmd"}
+ , "cwd": "work"
, "env": {"type": "var", "name": "ENV"}
}
]