https://bugs.kde.org/show_bug.cgi?id=507897

--- Comment #4 from Mark Wielaard <[email protected]> ---
(In reply to mcermak from comment #3)
> Created attachment 183810 [details]
> proposed patch
> 
> Thank you for your review!  I'm attaching an updated patch.  Please check.

> +if test -f ltp-patches/*.patch; then

That won't work when there are multiple patches:

$ touch 1.patch 2.patch; if test -f *.patch; then echo yes; else echo no; fi
bash: test: 1.patch: binary operator expected
no

Which is why I would recommend using if compgen -G "*.patch";

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to