mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-11-04 14:05:41 -07:00
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