remove unnecessary continue indices in prune_out

This commit is contained in:
2026-06-17 09:34:05 +01:00
parent 722a304023
commit 3e0def4305
+2 -2
View File
@@ -7,13 +7,13 @@ do
rel_path="$(echo "${out}" | cut -c5-)" rel_path="$(echo "${out}" | cut -c5-)"
if [ -f "public/${rel_path}" ]; then if [ -f "public/${rel_path}" ]; then
continue 2 continue
fi fi
base_rel_path="${rel_path%%.${out_ext}}" base_rel_path="${rel_path%%.${out_ext}}"
src_path="src/${base_rel_path}.upp${out_ext}" src_path="src/${base_rel_path}.upp${out_ext}"
if [ -f "$src_path" ]; then if [ -f "$src_path" ]; then
continue 2 continue
fi fi
for layout in $(find share/layouts -name "*.layout.upp${out_ext}"); do for layout in $(find share/layouts -name "*.layout.upp${out_ext}"); do