aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sbopkglint.d/70-tmp_path.t.sh2
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