]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commit
multiple: Use --no-run-if-empty flag with `xargs dirname` 1520/head
authorDavid Galloway <dgallowa@redhat.com>
Tue, 10 Mar 2020 19:27:23 +0000 (15:27 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Tue, 10 Mar 2020 19:27:23 +0000 (15:27 -0400)
commited8a362f20cefba534bc0c2e1f7f4dab2d4359c7
treebf038bff52b16cd8fa0d644d8c054aad09cc33db
parenta4b472c965e220b7294389dc74393d97a07f18ee
multiple: Use --no-run-if-empty flag with `xargs dirname`

I was seeing `dirname: missing operand` when there was no output from the `find | grep`

We want the output to just be empty instead of throwing an error

Signed-off-by: David Galloway <dgallowa@redhat.com>
ceph-ansible-prs/build/build
ceph-container-nighlity/build/teardown
ceph-container-prs/build/teardown
ceph-volume-nightly/build/teardown
scripts/build_utils.sh