diff options
author | Baranov Victor <bar.victor.2002@gmail.com> | 2025-10-09 02:23:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-09 02:23:58 +0300 |
commit | 074dbfa2e73a8e9680d887271fd1780fb76d37a4 (patch) | |
tree | da0749b91ceed0c2f336a43ab77a9c4508242706 /llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp | |
parent | d0d2162341e9a5371bbacb481b183b4ae74598ef (diff) | |
download | llvm-074dbfa2e73a8e9680d887271fd1780fb76d37a4.zip llvm-074dbfa2e73a8e9680d887271fd1780fb76d37a4.tar.gz llvm-074dbfa2e73a8e9680d887271fd1780fb76d37a4.tar.bz2 |
[Github][CI] Add quotes to 'find' command argument (#162570)
It appears that new [Build Tooling CI
Containers](https://github.com/llvm/llvm-project/actions/runs/18359418540/job/52299833688)
job run didn't actually push containers, but failed with error:
```
find: paths must precede expression: `ghcr.io-llvm-amd64-ci-ubuntu-24.04-lint-f1eb7e55428e.tar'
find: possible unquoted pattern after predicate `-iname'?
```
Proposed fix is in error message and I confirmed locally with such
setup:
```bash
$ ls -la
a.sh
ghcr.io-ci-a.tar
ghcr.io-ci-b.tar
$ cat a.sh
for f in $(find . -iname '*.tar'); do
echo $f
done
$ ./a.sh # lists fine with quotes but fails without.
```
Thought not sure how `Build CI Container` job push successfully: I
manually downloaded 900MB `tar` AMD-archive with two containers and
failed to `for`-loop over them without quotes, hence I add them to that
script as well.
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp')
0 files changed, 0 insertions, 0 deletions