diff options
author | B. Watson <urchlay@slackware.uk> | 2023-06-11 03:46:00 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2023-06-11 03:46:00 -0400 |
commit | 9703fdec3ecff8ac6c50524db5c1039326667fe8 (patch) | |
tree | cdb5edd5aeabe0b25af888f303afb8d4829c2e44 | |
parent | 15db76802caceefa7010ab073287022a809b78da (diff) | |
download | sbo-maintainer-tools-9703fdec3ecff8ac6c50524db5c1039326667fe8.tar.gz |
sbopkglint: handle spaces/etc in filenames in tmp_path test.
-rw-r--r-- | sbopkglint.d/70-tmp_path.t.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbopkglint.d/70-tmp_path.t.sh b/sbopkglint.d/70-tmp_path.t.sh index 933cf77..5041f09 100644 --- a/sbopkglint.d/70-tmp_path.t.sh +++ b/sbopkglint.d/70-tmp_path.t.sh @@ -11,7 +11,7 @@ # building the package, you have to set it to the same thing for this # check to work properly. If you don't ever set it, it'll be fine. -found="$(find . -type f | xargs fgrep -l "$TMP/package-")" +found="$(find . -type f -print0 | xargs -0 fgrep -l "$TMP/package-")" if [ -n "$found" ]; then warn "found files with TMP ($TMP/package-*) baked in:" echo "$found" 1>&2 |