commit 038bfe "Split directory traversal and debuginfo extraction" put the core of a while loop into its own function 'do_file()'. That means that instead of using 'continue' to break out early it now needs to use 'return'. Otherwise the script will give errors like:
continue: only meaningful in a `for', `while', or `until' loop https://bugzilla.redhat.com/show_bug.cgi?id=1465170 Signed-off-by: Mark Wielaard <m...@klomp.org> --- scripts/find-debuginfo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/find-debuginfo.sh b/scripts/find-debuginfo.sh index 360982d..59a4ff3 100755 --- a/scripts/find-debuginfo.sh +++ b/scripts/find-debuginfo.sh @@ -366,7 +366,7 @@ do_file() # just has its file names collected and adjusted. case "$dn" in /usr/lib/debug/*) - continue ;; + return ;; esac mkdir -p "${debugdn}" -- 1.8.3.1 _______________________________________________ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint