summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorquapka <quapka@gmail.com>2022-01-05 21:26:32 +0100
committerBjörn Esser <besser82@fedoraproject.org>2022-01-05 23:20:10 +0100
commit57ff627bc3b1927ed178ecb87ec5bf1f72fb32b9 (patch)
treeaa970c45978feaf363bfd48dbbfdceab560c1c03
parentf0d0d69bef760fff220ef3fe3760cf5a39f511b5 (diff)
downloadlibxcrypt-57ff627bc3b1927ed178ecb87ec5bf1f72fb32b9.tar.gz
libxcrypt-57ff627bc3b1927ed178ecb87ec5bf1f72fb32b9.tar.bz2
libxcrypt-57ff627bc3b1927ed178ecb87ec5bf1f72fb32b9.zip
Handle properly looping over filenames with whitespace
Using `-exec` would be another option, maybe slightly simpler.
-rwxr-xr-xbuild-aux/ci/ci-log-logfiles2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/ci/ci-log-logfiles b/build-aux/ci/ci-log-logfiles
index 675305e..1d17148 100755
--- a/build-aux/ci/ci-log-logfiles
+++ b/build-aux/ci/ci-log-logfiles
@@ -17,6 +17,6 @@ dump_log () {
}
dump_log config.log
-for ts in $(find . -name 'test-suite*.log' -printf '%P\n'); do
+find . -name 'test-suite*.log' -printf '%P\n' | while read -r ts; do
dump_log "$ts"
done