summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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