__acl: trying to understand X

This commit is contained in:
ander 2019-04-16 15:21:41 +03:00
parent 9e3cd47b9a
commit 731986ef8b

View file

@ -35,6 +35,16 @@ do
fi fi
while read -r l while read -r l
do do
if echo "$l" | grep -Fq 'X'
then
if [ "$is_dir" = '1' ]
then
l="$( echo "$l" | sed 's/X/x/' )"
else
l="$( echo "$l" | sed 's/X/-/' )"
fi
fi
echo "$parameter:$l" echo "$parameter:$l"
if [ -f "$__object/parameter/default" ] \ if [ -f "$__object/parameter/default" ] \