forked from kiss-community/kiss
kiss: Quote unquoted 0 blocks
This commit is contained in:
parent
3df43ed52f
commit
4375b8d4dc
6
kiss
6
kiss
@ -952,9 +952,9 @@ pkg_install_files() {
|
||||
# a 1-9 loop with the second digit being the value of the field.
|
||||
for c in 14 22 31 44 52 61 74 82 91; do rwx=${rwx#?}
|
||||
case $rwx in
|
||||
[rwx]*): $((o+=${c#?})) ;;
|
||||
[st]*): $((o+=1)) $((b+=4 / (${c%?}/3))) ;;
|
||||
[ST]*): $((b+=1)) ;;
|
||||
[rwx]*): "$((o+=${c#?}))" ;;
|
||||
[st]*): "$((o+=1))" "$((b+=4 / (${c%?}/3)))" ;;
|
||||
[ST]*): "$((b+=1))" ;;
|
||||
esac
|
||||
|
||||
[ "$((${c%?} % 3))" = 0 ] && oct=$oct$o o=0
|
||||
|
Loading…
Reference in New Issue
Block a user