mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-18 08:02:48 +00:00
Silence some possible errors from chflags -R
This commit is contained in:
parent
ddd72ac387
commit
85ae134a79
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=144884
@ -65,7 +65,7 @@ if [ $noclean = 0 ]; then
|
||||
rm -rf ${chroot}/tmp/*
|
||||
for dir in ${cleandirs}; do
|
||||
if ! rm -rf ${chroot}${dir} >/dev/null 2>&1; then
|
||||
chflags -R noschg ${chroot}${dir}
|
||||
chflags -R noschg ${chroot}${dir} >/dev/null 2>&1
|
||||
rm -rf ${chroot}${dir} >/dev/null 2>&1
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user