__acl: be bit more precise where the X is

This commit is contained in:
ander 2019-04-16 15:35:11 +03:00
parent 8b9b2c56ab
commit 53c963b2ee

View file

@ -39,9 +39,9 @@ do
then
if [ "$is_dir" = '1' ]
then
l="$( echo "$l" | sed 's/X/x/' )"
l="$( echo "$l" | sed 's/X$/x/' )"
else
l="$( echo "$l" | sed 's/X/-/' )"
l="$( echo "$l" | sed 's/X$/-/' )"
fi
fi