Bugfix in tup

This commit is contained in:
Sławomir Śledź 2018-03-10 22:22:06 +01:00
parent de116fcf9e
commit 6de7798c8a
2 changed files with 5 additions and 5 deletions

View file

@ -119,7 +119,7 @@ mul() {
( set -f; echo $(($1 * $2)) )
}
add() {
plus() {
echo $(($1 + $2))
}
@ -212,7 +212,7 @@ buff() {
local cnt=-1
for x in $@; do
[[ $x = '.' ]] && break
cnt=$(add $cnt 1)
cnt=$(plus $cnt 1)
done
local args=''
local i=$cnt