build: Use $rmAttrs and $(RM) in more places instead of 'rm' directly.

Should not result in a functional change in most cases, but it might
on some systems without full xattrs or emulation.
This commit is contained in:
Augustin Cavalier
2021-09-06 15:59:44 -04:00
parent d8ffdea39e
commit db0b7d8401
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ $mimeset --mimedb "$mimeDB" "$contentsDir"
# create the package
if [ ! $updateOnly ]; then
echo "$packageName: Creating the package ..."
rm -f "$packagePath"
$rmAttrs -f "$packagePath"
$package create -q "-$compressionLevel" -i "$packageInfoPath" \
-C "$contentsDir" "$packagePath"
else