When find returns nothing, chmod fails. So we when we get only blank lines, we do execute nothing (-r).
Signed-off-by: Jonatan Schlag jonatan.schlag@ipfire.org --- linux-firmware/linux-firmware.nm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/linux-firmware/linux-firmware.nm b/linux-firmware/linux-firmware.nm index 53413eacf..5e0eba43e 100644 --- a/linux-firmware/linux-firmware.nm +++ b/linux-firmware/linux-firmware.nm @@ -4,7 +4,7 @@ ###############################################################################
name = linux-firmware -version = 20221214 +version = 20230804 release = 1
maintainer = Arne Fitzenreiter arne.fitzenreiter@ipfire.org @@ -34,7 +34,7 @@ build install_cmds # Remove executable bits from any files find %{BUILDROOT}%{firmwaredir} -type f \ - -executable -print | xargs chmod -v a-x + -executable -print | xargs -r chmod -v a-x end end