small patch fixes

This commit is contained in:
Tobias Powalowski 2023-02-17 10:58:44 +01:00
parent 4fa7a9dcd8
commit add1ce2e7e
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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