From add1ce2e7ef2768f7513cd2918fcf692782d540f Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Fri, 17 Feb 2023 10:58:44 +0100 Subject: [PATCH] small patch fixes --- usr/share/archboot/patches/archboot-speedup-changes.patch | 2 +- usr/share/archboot/patches/functions | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/share/archboot/patches/archboot-speedup-changes.patch b/usr/share/archboot/patches/archboot-speedup-changes.patch index 0162ecd84..321d352c6 100644 --- a/usr/share/archboot/patches/archboot-speedup-changes.patch +++ b/usr/share/archboot/patches/archboot-speedup-changes.patch @@ -119,7 +119,7 @@ + add_file "$srcrealpath" "$srcrealpath" "$mode" + else + if [[ -n $mode ]]; then -+ chmod "$mode" ${BUILDROOT}${dest} ++ command chmod "$mode" ${BUILDROOT}${dest} + fi + fi + fi diff --git a/usr/share/archboot/patches/functions b/usr/share/archboot/patches/functions index 24b4473e8..234cfa137 100644 --- a/usr/share/archboot/patches/functions +++ b/usr/share/archboot/patches/functions @@ -641,7 +641,7 @@ add_file() { add_file "$srcrealpath" "$srcrealpath" "$mode" else if [[ -n $mode ]]; then - chmod "$mode" ${BUILDROOT}${dest} + command chmod "$mode" ${BUILDROOT}${dest} fi fi fi