Signed-off-by: Antonio Murdaca <runcom@redhat.com>
| ... | ... |
@@ -232,25 +232,6 @@ binary_extension() {
|
| 232 | 232 |
fi |
| 233 | 233 |
} |
| 234 | 234 |
|
| 235 |
-# This helper function walks the current directory looking for directories |
|
| 236 |
-# holding certain files ($1 parameter), and prints their paths on standard |
|
| 237 |
-# output, one per line. |
|
| 238 |
-find_dirs() {
|
|
| 239 |
- find . -not \( \ |
|
| 240 |
- \( \ |
|
| 241 |
- -path './vendor/*' \ |
|
| 242 |
- -o -path './integration-cli/*' \ |
|
| 243 |
- -o -path './contrib/*' \ |
|
| 244 |
- -o -path './pkg/mflag/example/*' \ |
|
| 245 |
- -o -path './.git/*' \ |
|
| 246 |
- -o -path './bundles/*' \ |
|
| 247 |
- -o -path './docs/*' \ |
|
| 248 |
- -o -path './pkg/libcontainer/nsinit/*' \ |
|
| 249 |
- \) \ |
|
| 250 |
- -prune \ |
|
| 251 |
- \) -name "$1" -print0 | xargs -0n1 dirname | sort -u |
|
| 252 |
-} |
|
| 253 |
- |
|
| 254 | 235 |
hash_files() {
|
| 255 | 236 |
while [ $# -gt 0 ]; do |
| 256 | 237 |
f="$1" |