Commit 33c0f116 authored by Shaun McCance's avatar Shaun McCance

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.
parent 44313ba3
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment