summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun McCance <shaunm@redhat.com>2019-06-12 16:14:46 -0400
committerShaun McCance <shaunm@redhat.com>2019-06-12 16:14:46 -0400
commit33c0f11607d4aa8404e92fdad09b4fa20eb6a0b2 (patch)
tree3a050f2f0b654e336a84dc81f649b9521301e5b5
parent44313ba356e1384f9dd07123ccc1c8be64e7f241 (diff)
downloadyelp-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.
-rwxr-xr-xtools/yelp-build.in2
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