remove unnecessary continue indices in prune_out
This commit is contained in:
+2
-2
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user