diff options
author | Shaun McCance <shaunm@redhat.com> | 2019-06-12 16:14:46 -0400 |
---|---|---|
committer | Shaun McCance <shaunm@redhat.com> | 2019-06-12 16:14:46 -0400 |
commit | 33c0f11607d4aa8404e92fdad09b4fa20eb6a0b2 (patch) | |
tree | 3a050f2f0b654e336a84dc81f649b9521301e5b5 /tools/yelp-build.in | |
parent | 44313ba356e1384f9dd07123ccc1c8be64e7f241 (diff) | |
download | yelp-tools-33c0f11607d4aa8404e92fdad09b4fa20eb6a0b2.tar.gz |
Fully fix warnings when there are no stack files
Previous fix had a mistake. I added a check in two places, did some copy pasta,
and failed to change a variable name.
Diffstat (limited to 'tools/yelp-build.in')
-rwxr-xr-x | tools/yelp-build.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/yelp-build.in b/tools/yelp-build.in index 8438a23..f3e21d8 100755 --- a/tools/yelp-build.in +++ b/tools/yelp-build.in @@ -195,7 +195,7 @@ yelp_cache_in () { yelp_cache_in_site "$page" else for sub in "$page"/*.page "$page"/*.stack; do - if [ -e "$page" ]; then + if [ -e "$sub" ]; then yelp_cache_in_page "$sub" fi done |