]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commit
jjb: increase precision of job searches 22/head
authorKen Dreyer <kdreyer@redhat.com>
Fri, 14 Nov 2014 15:13:40 +0000 (08:13 -0700)
committerKen Dreyer <kdreyer@redhat.com>
Fri, 14 Nov 2014 15:17:42 +0000 (08:17 -0700)
commit9303ecd9b756333a2b33a3f8437973901db47967
treea4fc92ae908dbf02b1d2972812f74477f7fcbb4e
parente676e658925382b6dcf9fba185428ad477c10c91
jjb: increase precision of job searches

The "for `ls .` ... -d subdirectory" logic was examining every entry at
the top-level of the workspace, both files and directories. The files
entries were useless since they would never contain subdirectories.

Use "find" instead to only locate directories at the top level.

The purpose of this change is to make the verbose output (with set -x)
easier to read, and make it easier to spot errors in the future.
jjb/config/config