__acl: trying to understand X

This commit is contained in:
ander 2019-04-16 15:21:41 +03:00
parent 9e3cd47b9a
commit 731986ef8b
1 changed files with 10 additions and 0 deletions

View File

@ -35,6 +35,16 @@ do
fi
while read -r l
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"
if [ -f "$__object/parameter/default" ] \